wangrongsheng commited on
Commit
8c05f18
1 Parent(s): 12b83ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -785,11 +785,17 @@ def upload_pdf(api_keys, text, model_name, p, temperature, file):
785
 
786
  api_title = "api-key可用验证"
787
  api_description = '''<div align='left'>
 
788
  <img src='https://visitor-badge.laobi.icu/badge?page_id=https://huggingface.co/spaces/wangrongsheng/ChatPaper'>
 
789
  <img align='right' src='https://i.328888.xyz/2023/03/12/vH9dU.png' width="150">
 
790
  Use ChatGPT to summary the papers.Star our Github [🌟ChatPaper](https://github.com/kaixindelele/ChatPaper) .
 
791
  💗如果您觉得我们的项目对您有帮助,还请您给我们一些鼓励!💗
 
792
  🔴请注意:千万不要用于严肃的学术场景,只能用于论文阅读前的初筛!
 
793
  </div>
794
  '''
795
 
@@ -808,11 +814,17 @@ api_gui = gradio.Interface(fn=valid_apikey,
808
  title = "ChatPaper"
809
  # 描述
810
  description = '''<div align='left'>
 
811
  <img src='https://visitor-badge.laobi.icu/badge?page_id=https://huggingface.co/spaces/wangrongsheng/ChatPaper'>
 
812
  <img align='right' src='https://i.328888.xyz/2023/03/12/vH9dU.png' width="150">
 
813
  Use ChatGPT to summary the papers.Star our Github [🌟ChatPaper](https://github.com/kaixindelele/ChatPaper) .
 
814
  💗如果您觉得我们的项目对您有帮助,还请您给我们一些鼓励!💗
 
815
  🔴请注意:千万不要用于严肃的学术场景,只能用于论文阅读前的初筛!
 
816
  </div>
817
  '''
818
  # 创建Gradio界面
 
785
 
786
  api_title = "api-key可用验证"
787
  api_description = '''<div align='left'>
788
+
789
  <img src='https://visitor-badge.laobi.icu/badge?page_id=https://huggingface.co/spaces/wangrongsheng/ChatPaper'>
790
+
791
  <img align='right' src='https://i.328888.xyz/2023/03/12/vH9dU.png' width="150">
792
+
793
  Use ChatGPT to summary the papers.Star our Github [🌟ChatPaper](https://github.com/kaixindelele/ChatPaper) .
794
+
795
  💗如果您觉得我们的项目对您有帮助,还请您给我们一些鼓励!💗
796
+
797
  🔴请注意:千万不要用于严肃的学术场景,只能用于论文阅读前的初筛!
798
+
799
  </div>
800
  '''
801
 
 
814
  title = "ChatPaper"
815
  # 描述
816
  description = '''<div align='left'>
817
+
818
  <img src='https://visitor-badge.laobi.icu/badge?page_id=https://huggingface.co/spaces/wangrongsheng/ChatPaper'>
819
+
820
  <img align='right' src='https://i.328888.xyz/2023/03/12/vH9dU.png' width="150">
821
+
822
  Use ChatGPT to summary the papers.Star our Github [🌟ChatPaper](https://github.com/kaixindelele/ChatPaper) .
823
+
824
  💗如果您觉得我们的项目对您有帮助,还请您给我们一些鼓励!💗
825
+
826
  🔴请注意:千万不要用于严肃的学术场景,只能用于论文阅读前的初筛!
827
+
828
  </div>
829
  '''
830
  # 创建Gradio界面