Remove test button
Browse files- app.py +1 -3
- videos/tempfile.mp4 +2 -2
app.py
CHANGED
|
@@ -85,7 +85,6 @@ with block:
|
|
| 85 |
placeholder="What's the answer to life, the universe, and everything?",
|
| 86 |
lines=1)
|
| 87 |
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
| 88 |
-
test = gr.Button(value="Test", variant="secondary").style(full_width=False)
|
| 89 |
|
| 90 |
gr.Examples(
|
| 91 |
examples=["How many people live in Canada?",
|
|
@@ -109,9 +108,8 @@ with block:
|
|
| 109 |
state = gr.State()
|
| 110 |
agent_state = gr.State()
|
| 111 |
|
| 112 |
-
submit.click(chat, inputs=[message, state, agent_state], outputs=[chatbot, state, video_html, my_file])
|
| 113 |
message.submit(chat, inputs=[message, state, agent_state], outputs=[chatbot, state, video_html, my_file])
|
| 114 |
-
|
| 115 |
|
| 116 |
openai_api_key_textbox.change(set_openai_api_key,
|
| 117 |
inputs=[openai_api_key_textbox, agent_state],
|
|
|
|
| 85 |
placeholder="What's the answer to life, the universe, and everything?",
|
| 86 |
lines=1)
|
| 87 |
submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
|
|
|
|
| 88 |
|
| 89 |
gr.Examples(
|
| 90 |
examples=["How many people live in Canada?",
|
|
|
|
| 108 |
state = gr.State()
|
| 109 |
agent_state = gr.State()
|
| 110 |
|
|
|
|
| 111 |
message.submit(chat, inputs=[message, state, agent_state], outputs=[chatbot, state, video_html, my_file])
|
| 112 |
+
submit.click(chat, inputs=[message, state, agent_state], outputs=[chatbot, state, video_html, my_file])
|
| 113 |
|
| 114 |
openai_api_key_textbox.change(set_openai_api_key,
|
| 115 |
inputs=[openai_api_key_textbox, agent_state],
|
videos/tempfile.mp4
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7092e00a5aecba25726afcc0f2cd1fcc10d02803debc2e38e5166ffdf8a306b
|
| 3 |
+
size 175544
|