Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -293,7 +293,7 @@ with gr.Blocks(css=css) as demo:
|
|
293 |
with gr.Column():
|
294 |
video_inp = gr.Video(label="video_input")
|
295 |
|
296 |
-
gr.Markdown("Step 1: 请在下方选取视频", elem_id="hint")
|
297 |
examples = gr.Examples(
|
298 |
examples=[
|
299 |
["./BV11H4y1F7uH.mp4"],
|
@@ -306,18 +306,18 @@ with gr.Blocks(css=css) as demo:
|
|
306 |
# vidsub_btn = gr.Button("上传网站视频")
|
307 |
|
308 |
chatbot = gr.Chatbot(elem_id="chatbox")
|
309 |
-
input_message = gr.Textbox(show_label=False, placeholder="输入提问内容并按回车", visible=True)
|
310 |
-
btn_submit = gr.Button("提问视频内容")
|
311 |
|
312 |
gr.Markdown("如果对上面的回答不满意,请在下方输入需要辩论的问题, *e.g.* *方差越小越好?*", elem_id="hint")
|
313 |
#chatbot_debate = gr.Chatbot(elem_id="chatbox")
|
314 |
-
input_message_debate = gr.Textbox(show_label=False, placeholder="输入辩论主题并按回车", visible=True)
|
315 |
-
btn_submit_debate = gr.Button("发起问题辩论")
|
316 |
|
317 |
-
btn_clear_conversation = gr.Button("🔃 开始新的对话")
|
318 |
|
319 |
with gr.Column():
|
320 |
-
vlog_btn = gr.Button("Step 2: 查看视频日志(
|
321 |
vlog_outp = gr.Textbox(label="Document output", lines=70)
|
322 |
total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
|
323 |
|
|
|
293 |
with gr.Column():
|
294 |
video_inp = gr.Video(label="video_input")
|
295 |
|
296 |
+
gr.Markdown("Step 1: 请在下方选取视频(Select videos below)", elem_id="hint")
|
297 |
examples = gr.Examples(
|
298 |
examples=[
|
299 |
["./BV11H4y1F7uH.mp4"],
|
|
|
306 |
# vidsub_btn = gr.Button("上传网站视频")
|
307 |
|
308 |
chatbot = gr.Chatbot(elem_id="chatbox")
|
309 |
+
input_message = gr.Textbox(show_label=False, placeholder="输入提问内容并按回车(Input your question)", visible=True)
|
310 |
+
btn_submit = gr.Button("提问视频内容(Submit)")
|
311 |
|
312 |
gr.Markdown("如果对上面的回答不满意,请在下方输入需要辩论的问题, *e.g.* *方差越小越好?*", elem_id="hint")
|
313 |
#chatbot_debate = gr.Chatbot(elem_id="chatbox")
|
314 |
+
input_message_debate = gr.Textbox(show_label=False, placeholder="输入辩论主题并按回车(Input your debate topic)", visible=True)
|
315 |
+
btn_submit_debate = gr.Button("发起问题辩论(Submit)")
|
316 |
|
317 |
+
btn_clear_conversation = gr.Button("🔃 开始新的对话(Start new conversation)")
|
318 |
|
319 |
with gr.Column():
|
320 |
+
vlog_btn = gr.Button("Step 2: 查看视频日志(Pleas wait around 70s)")
|
321 |
vlog_outp = gr.Textbox(label="Document output", lines=70)
|
322 |
total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
|
323 |
|