wfustc commited on
Commit
ae2fe3a
·
verified ·
1 Parent(s): 71fc260

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -62,3 +62,7 @@ demo = gr.ChatInterface(
62
 
63
  if __name__ == "__main__":
64
  demo.launch()
 
 
 
 
 
62
 
63
  if __name__ == "__main__":
64
  demo.launch()
65
+
66
+ # 创建 Gradio UI
67
+ iface = gr.Interface(fn=chatbot, inputs="text", outputs="text", title="My HF Model")
68
+ iface.launch()