hsuwill000 commited on
Commit
8750589
·
verified ·
1 Parent(s): 0368d64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,10 +49,10 @@ with gr.Blocks() as demo:
49
  title="DeepSeek-R1-Distill-Qwen-1.5B-openvino",
50
  description="回傳輸入內容的測試 API",
51
  )
52
- chat_if.queue(api_open=True, max_size=1)
53
 
54
 
55
  if __name__ == "__main__":
56
  print("Launching Gradio app...")
57
- #demo.queue(api_open=True, max_size=1)
58
  demo.launch(server_name="0.0.0.0", server_port=7860, share=True)
 
49
  title="DeepSeek-R1-Distill-Qwen-1.5B-openvino",
50
  description="回傳輸入內容的測試 API",
51
  )
52
+ #chat_if.queue(api_open=True, max_size=1)
53
 
54
 
55
  if __name__ == "__main__":
56
  print("Launching Gradio app...")
57
+ demo.queue(api_open=True, max_size=1)
58
  demo.launch(server_name="0.0.0.0", server_port=7860, share=True)