Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,8 @@ with gr.Blocks() as demo:
|
|
40 |
with gr.TabItem("聊天"):
|
41 |
chat_if = gr.Interface(
|
42 |
fn=respond,
|
43 |
-
|
|
|
44 |
outputs=gr.Textbox(label="Response", interactive=False),
|
45 |
api_name="/hchat",
|
46 |
title="DeepSeek-R1-Distill-Qwen-1.5B-openvino",
|
|
|
40 |
with gr.TabItem("聊天"):
|
41 |
chat_if = gr.Interface(
|
42 |
fn=respond,
|
43 |
+
with gr.Row():
|
44 |
+
inputs=gr.Textbox(label="Prompt", placeholder="請輸入訊息..."),
|
45 |
outputs=gr.Textbox(label="Response", interactive=False),
|
46 |
api_name="/hchat",
|
47 |
title="DeepSeek-R1-Distill-Qwen-1.5B-openvino",
|