hsuwill000 commited on
Commit
6c770b0
·
verified ·
1 Parent(s): 1183fc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -51,13 +51,6 @@ with gr.Blocks() as demo:
51
  )
52
  #chat_if.queue(api_open=True, max_size=1)
53
 
54
- chat_if2 = gr.Interface(
55
- fn=respond,
56
- inputs=gr.Textbox(label="Prompt", placeholder="請輸入訊息..."),
57
- outputs=gr.Textbox(label="Response", interactive=False),
58
- api_name="hc",
59
- )
60
-
61
  if __name__ == "__main__":
62
  print("Launching Gradio app...")
63
  demo.queue(api_open=True, max_size=1)
 
51
  )
52
  #chat_if.queue(api_open=True, max_size=1)
53
 
 
 
 
 
 
 
 
54
  if __name__ == "__main__":
55
  print("Launching Gradio app...")
56
  demo.queue(api_open=True, max_size=1)