wangrongsheng commited on
Commit
5663101
1 Parent(s): 1b98339

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -664,7 +664,7 @@ Use ChatGPT to summary the papers.Star our Github [🌟ChatPaper](https://github
664
  '''
665
 
666
  api_input = [
667
- gradio.inputs.Textbox(label="请输入你的api-key(必填)", default="")
668
  ]
669
  api_gui = gradio.Interface(fn=valid_apikey, inputs=api_input, outputs="text", title=api_title, description=api_description)
670
 
@@ -687,7 +687,7 @@ Use ChatGPT to summary the papers.Star our Github [🌟ChatPaper](https://github
687
  '''
688
  # 创建Gradio界面
689
  ip = [
690
- gradio.inputs.Textbox(label="请输入你的API-key(必填)", default=""),
691
  gradio.inputs.Textbox(label="请输入论文大标题索引(用英文逗号隔开,必填)", default="'Abstract,Introduction,Related Work,Background,Preliminary,Problem Formulation,Methods,Methodology,Method,Approach,Approaches,Materials and Methods,Experiment Settings,Experiment,Experimental Results,Evaluation,Experiments,Results,Findings,Data Analysis,Discussion,Results and Discussion,Conclusion,References'"),
692
  gradio.inputs.File(label="请上传论文PDF(必填)")
693
  ]
 
664
  '''
665
 
666
  api_input = [
667
+ gradio.inputs.Textbox(label="请输入你的api-key(必填)", default="", type='password')
668
  ]
669
  api_gui = gradio.Interface(fn=valid_apikey, inputs=api_input, outputs="text", title=api_title, description=api_description)
670
 
 
687
  '''
688
  # 创建Gradio界面
689
  ip = [
690
+ gradio.inputs.Textbox(label="请输入你的API-key(必填)", default="", type='password'),
691
  gradio.inputs.Textbox(label="请输入论文大标题索引(用英文逗号隔开,必填)", default="'Abstract,Introduction,Related Work,Background,Preliminary,Problem Formulation,Methods,Methodology,Method,Approach,Approaches,Materials and Methods,Experiment Settings,Experiment,Experimental Results,Evaluation,Experiments,Results,Findings,Data Analysis,Discussion,Results and Discussion,Conclusion,References'"),
692
  gradio.inputs.File(label="请上传论文PDF(必填)")
693
  ]