fuhsiao418 commited on
Commit
de45564
·
1 Parent(s): 411567e
Files changed (1) hide show
  1. app.py +1 -1
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 'error'
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