Spaces:
Runtime error
Runtime error
fuhsiao418
commited on
Commit
·
de45564
1
Parent(s):
411567e
update
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
def main(file, ext_threshold, article_type):
|
6 |
|
7 |
if file is None or ext_threshold is None or article_type is None:
|
8 |
-
return '
|
9 |
|
10 |
paper = read_text_to_json(file.name)
|
11 |
|
|
|
5 |
def main(file, ext_threshold, article_type):
|
6 |
|
7 |
if file is None or ext_threshold is None or article_type is None:
|
8 |
+
return 'Please confirm that the file and settings are correct.'
|
9 |
|
10 |
paper = read_text_to_json(file.name)
|
11 |
|