From b190bd4aa1cb849c16e06c38c5ea40c2329e9a76 Mon Sep 17 00:00:00 2001 From: Muhammed AbuOdeh Date: Mon, 2 Sep 2024 17:46:14 +0400 Subject: [PATCH] drive upload supports conllx and conllu --- gapiLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gapiLoader.js b/gapiLoader.js index 59f4d5c..97846a1 100644 --- a/gapiLoader.js +++ b/gapiLoader.js @@ -71,7 +71,7 @@ function showPicker(accessToken, callback) { .then((rsp) => { let credentials = rsp.data; let view = new google.picker.DocsView(google.picker.ViewId.DOCS).setParent('root').setIncludeFolders(true); - view.setMimeTypes("text/plain"); + view.setMimeTypes("application/conllx, application/conllu"); view.setMode(google.picker.DocsViewMode.LIST); let picker = new google.picker.PickerBuilder() .addView(view)