Spaces:
Sleeping
Sleeping
朱东升
commited on
Commit
·
b1482b2
1
Parent(s):
2d5b673
requirements update4
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ demo = gr.Interface(
|
|
93 |
outputs=gr.JSON(),
|
94 |
title="代码评估服务",
|
95 |
description="支持多种编程语言的代码评估服务",
|
96 |
-
api_name="evaluate" #
|
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__":
|