Spaces:
Sleeping
Sleeping
ElliottLepine
commited on
Commit
·
bad9f43
1
Parent(s):
137c571
Add output of findmy_rotation
Browse files
app.py
CHANGED
@@ -174,10 +174,14 @@ with gr.Blocks() as demo:
|
|
174 |
|
175 |
msg.submit(respond, [msg, chatbot], [chatbot])
|
176 |
|
|
|
|
|
|
|
177 |
invisible_btn = gr.Button(visible=False)
|
178 |
invisible_btn.click(
|
179 |
find_my_rotation,
|
180 |
-
inputs=[gr.Textbox(), gr.Number(), gr.Checkbox(), gr.List(), gr.List()]
|
|
|
181 |
)
|
182 |
|
183 |
demo.title = title
|
|
|
174 |
|
175 |
msg.submit(respond, [msg, chatbot], [chatbot])
|
176 |
|
177 |
+
# Terrible terrible terrible way of handling this
|
178 |
+
# but we don't have much time left
|
179 |
+
invisible_output = gr.Text(visible=False)
|
180 |
invisible_btn = gr.Button(visible=False)
|
181 |
invisible_btn.click(
|
182 |
find_my_rotation,
|
183 |
+
inputs=[gr.Textbox(), gr.Number(), gr.Checkbox(), gr.List(), gr.List()],
|
184 |
+
outputs=[invisible_output]
|
185 |
)
|
186 |
|
187 |
demo.title = title
|