themissingCRAM
commited on
Commit
·
fa5fd6a
1
Parent(s):
cb725a6
blocks experiment
Browse files
app.py
CHANGED
@@ -136,9 +136,9 @@ if __name__ == "__main__":
|
|
136 |
print(x.action_output)
|
137 |
|
138 |
with gr.Blocks() as b:
|
139 |
-
gr.Chatbot(type="messages")
|
140 |
|
141 |
input = gr.Textbox()
|
142 |
button = gr.Button("reply")
|
143 |
-
button.click(enter_message)
|
144 |
b.launch()
|
|
|
136 |
print(x.action_output)
|
137 |
|
138 |
with gr.Blocks() as b:
|
139 |
+
chatbot = gr.Chatbot(type="messages")
|
140 |
|
141 |
input = gr.Textbox()
|
142 |
button = gr.Button("reply")
|
143 |
+
button.click(enter_message, input, chatbot)
|
144 |
b.launch()
|