Spaces:
Runtime error
Runtime error
Arnasltlt
commited on
Commit
•
bb831a9
1
Parent(s):
3263fc8
Update app.py
Browse files
app.py
CHANGED
@@ -119,15 +119,16 @@ with gr.Blocks() as demo:
|
|
119 |
# gr.Markdown('### The conversation')
|
120 |
# dt = gr.HTML(label="History")
|
121 |
# demo.load(get_history, inputs=inp, outputs=dt, every=5, queue=True)
|
122 |
-
|
123 |
-
|
|
|
124 |
|
125 |
# with gr.Row():
|
126 |
# final = gr.Textbox()
|
127 |
# demo.load(final_answer, inputs=None, outputs=final, every=300, queue=True)
|
128 |
|
129 |
|
130 |
-
btn.click(fn=send_message_via_api,inputs=[inp,number]
|
131 |
|
132 |
demo.queue(max_size=20)
|
133 |
demo.launch()
|
|
|
119 |
# gr.Markdown('### The conversation')
|
120 |
# dt = gr.HTML(label="History")
|
121 |
# demo.load(get_history, inputs=inp, outputs=dt, every=5, queue=True)
|
122 |
+
with gr.Column():
|
123 |
+
outcome = gr.Textbox(label='Outcome')
|
124 |
+
|
125 |
|
126 |
# with gr.Row():
|
127 |
# final = gr.Textbox()
|
128 |
# demo.load(final_answer, inputs=None, outputs=final, every=300, queue=True)
|
129 |
|
130 |
|
131 |
+
btn.click(fn=send_message_via_api,inputs=[inp,number])
|
132 |
|
133 |
demo.queue(max_size=20)
|
134 |
demo.launch()
|