朱东升 commited on
Commit
b1482b2
·
1 Parent(s): 2d5b673

requirements update4

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ demo = gr.Interface(
93
  outputs=gr.JSON(),
94
  title="代码评估服务",
95
  description="支持多种编程语言的代码评估服务",
96
- api_name="evaluate" # 添加API名称,注意不要包含前导斜杠
97
  )
98
 
99
  if __name__ == "__main__":
 
93
  outputs=gr.JSON(),
94
  title="代码评估服务",
95
  description="支持多种编程语言的代码评估服务",
96
+ api_name="/evaluate" # 修改为带有前导斜杠的API名称
97
  )
98
 
99
  if __name__ == "__main__":