Zenithwang commited on
Commit
3fb97e3
·
verified ·
1 Parent(s): d3eab6a

Hide API button and avoid 'No API found' error

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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__":