Spaces:
Sleeping
Sleeping
朱东升
commited on
Commit
·
2d5b673
1
Parent(s):
ebd458c
requirements update3
Browse files
app.py
CHANGED
@@ -92,7 +92,8 @@ demo = gr.Interface(
|
|
92 |
inputs=gr.JSON(),
|
93 |
outputs=gr.JSON(),
|
94 |
title="代码评估服务",
|
95 |
-
description="支持多种编程语言的代码评估服务"
|
|
|
96 |
)
|
97 |
|
98 |
if __name__ == "__main__":
|
|
|
92 |
inputs=gr.JSON(),
|
93 |
outputs=gr.JSON(),
|
94 |
title="代码评估服务",
|
95 |
+
description="支持多种编程语言的代码评估服务",
|
96 |
+
api_name="evaluate" # 添加API名称,注意不要包含前导斜杠
|
97 |
)
|
98 |
|
99 |
if __name__ == "__main__":
|