diff --git a/.env b/.env index 2a6736ae0cd..cf597a33058 100644 --- a/.env +++ b/.env @@ -91,4 +91,7 @@ PUBLIC_APP_DISCLAIMER=#set to 1 to show a disclaimer on login page # PUBLIC_APP_ASSETS=huggingchat # PUBLIC_APP_COLOR=yellow # PUBLIC_APP_DATA_SHARING=1 -# PUBLIC_APP_DISCLAIMER=1 \ No newline at end of file +# PUBLIC_APP_DISCLAIMER=1 + +MATHPIX_APP_ID=#your mathpix app id here +MATHPIX_APP_KEY=#your mathpix app key here diff --git a/src/lib/components/FileDropzone.svelte b/src/lib/components/FileDropzone.svelte new file mode 100644 index 00000000000..fc7683194a7 --- /dev/null +++ b/src/lib/components/FileDropzone.svelte @@ -0,0 +1,104 @@ + + +
+ Drag and drop your PDF file here +
+ {:else if file_error === true} ++ Error {file_error_message} +
+ {:else} + {#each fileList as file} +
+