Spaces:
Runtime error
Runtime error
Hide API button and avoid 'No API found' error
Browse files
app.py
CHANGED
|
@@ -97,6 +97,7 @@ iface = gr.Interface(
|
|
| 97 |
outputs=gr.Textbox(label="Answer"),
|
| 98 |
title="Step3 (API) Demo",
|
| 99 |
description="使用 StepFun 的 OpenAI 兼容 API (/v1) 来调用 step-3 模型。",
|
|
|
|
| 100 |
)
|
| 101 |
|
| 102 |
if __name__ == "__main__":
|
|
|
|
| 97 |
outputs=gr.Textbox(label="Answer"),
|
| 98 |
title="Step3 (API) Demo",
|
| 99 |
description="使用 StepFun 的 OpenAI 兼容 API (/v1) 来调用 step-3 模型。",
|
| 100 |
+
show_api=False,
|
| 101 |
)
|
| 102 |
|
| 103 |
if __name__ == "__main__":
|