Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -82,9 +82,9 @@ with gr.Blocks() as demo:
|
|
82 |
with gr.Column(scale=1):
|
83 |
start_btn = gr.Button("開始對話")
|
84 |
end_btn = gr.Button("結束對話")
|
85 |
-
with gr.Column(scale=3):
|
86 |
-
|
87 |
-
|
88 |
textbox_output = gr.Markdown(label="robot answer:", elem_id="scroll_output")
|
89 |
|
90 |
start_btn.click(fn=start_chat, outputs=status_box)
|
|
|
82 |
with gr.Column(scale=1):
|
83 |
start_btn = gr.Button("開始對話")
|
84 |
end_btn = gr.Button("結束對話")
|
85 |
+
#with gr.Column(scale=3):
|
86 |
+
status_box = gr.Textbox(label="狀態", interactive=False)
|
87 |
+
TPS_box = gr.Textbox(label="TPS", interactive=False)
|
88 |
textbox_output = gr.Markdown(label="robot answer:", elem_id="scroll_output")
|
89 |
|
90 |
start_btn.click(fn=start_chat, outputs=status_box)
|