Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,13 +69,17 @@ with gr.Blocks() as demo:
|
|
69 |
with gr.Row():
|
70 |
# 左邊:控制按鈕與狀態欄
|
71 |
with gr.Column(scale=1):
|
|
|
72 |
with gr.Row():
|
73 |
start_btn = gr.Button("開始對話")
|
74 |
end_btn = gr.Button("結束對話")
|
|
|
75 |
textbox_input = gr.Textbox(label="Prompt", lines=1, placeholder="Enter prompt here...")
|
76 |
button = gr.Button("Submit")
|
77 |
# 右邊:Prompt 輸入與 Markdown 輸出
|
78 |
with gr.Column(scale=3):
|
|
|
|
|
79 |
with gr.Row():
|
80 |
status_box = gr.Textbox(label="狀態", interactive=False)
|
81 |
TPS_box = gr.Textbox(label="TPS", interactive=False)
|
|
|
69 |
with gr.Row():
|
70 |
# 左邊:控制按鈕與狀態欄
|
71 |
with gr.Column(scale=1):
|
72 |
+
'''
|
73 |
with gr.Row():
|
74 |
start_btn = gr.Button("開始對話")
|
75 |
end_btn = gr.Button("結束對話")
|
76 |
+
'''
|
77 |
textbox_input = gr.Textbox(label="Prompt", lines=1, placeholder="Enter prompt here...")
|
78 |
button = gr.Button("Submit")
|
79 |
# 右邊:Prompt 輸入與 Markdown 輸出
|
80 |
with gr.Column(scale=3):
|
81 |
+
start_btn = gr.Button("開始對話")
|
82 |
+
end_btn = gr.Button("結束對話")
|
83 |
with gr.Row():
|
84 |
status_box = gr.Textbox(label="狀態", interactive=False)
|
85 |
TPS_box = gr.Textbox(label="TPS", interactive=False)
|