ShiwenNi commited on
Commit
702662c
1 Parent(s): 7fef2b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -95,8 +95,8 @@ class Reviewer:
95
  usage = response.usage.total_tokens
96
  except Exception as e:
97
  # 处理其他的异常
98
- result = str(e))
99
- usage = str(e))
100
  print("********"*10)
101
  print(result)
102
  print("********"*10)
@@ -205,7 +205,7 @@ The paper is scored on a scale of 1-10, with 10 being the full mark, and 6 stand
205
  xxx"""
206
  ),
207
  gradio.inputs.File(label="请上传论文PDF(必填)",type="bytes"),
208
- gradio.inputs.Radio(choices=["English", "Chinese"],
209
  default="English",
210
  label="选择输出语言"),
211
  ]
 
95
  usage = response.usage.total_tokens
96
  except Exception as e:
97
  # 处理其他的异常
98
+ result = str(e)
99
+ usage = str(e)
100
  print("********"*10)
101
  print(result)
102
  print("********"*10)
 
205
  xxx"""
206
  ),
207
  gradio.inputs.File(label="请上传论文PDF(必填)",type="bytes"),
208
+ gradio.inputs.Radio(choices=["English", "Chinese", "French", "German","Japenese"],
209
  default="English",
210
  label="选择输出语言"),
211
  ]