Update app.py
Browse files
app.py
CHANGED
@@ -49,9 +49,10 @@ with gr.Blocks() as demo:
|
|
49 |
title="DeepSeek-R1-Distill-Qwen-1.5B-openvino",
|
50 |
description="回傳輸入內容的測試 API",
|
51 |
)
|
|
|
52 |
|
53 |
|
54 |
if __name__ == "__main__":
|
55 |
print("Launching Gradio app...")
|
56 |
#demo.queue(api_open=True, max_size=1)
|
57 |
-
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)
|