Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -85,12 +85,13 @@ def call_generate_text(message, history):
|
|
85 |
|
86 |
return ""
|
87 |
|
88 |
-
|
89 |
-
function(chatbot){
|
90 |
-
console.log(chatbot)
|
91 |
-
}
|
92 |
-
"""
|
93 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
94 |
chatbot = gr.Chatbot()
|
95 |
chatbot.change(None,[chatbot],[],js=js)
|
96 |
msg = gr.Textbox()
|
|
|
85 |
|
86 |
return ""
|
87 |
|
88 |
+
|
|
|
|
|
|
|
|
|
89 |
with gr.Blocks() as demo:
|
90 |
+
js = """
|
91 |
+
function(chatbot){
|
92 |
+
console.log(chatbot)
|
93 |
+
}
|
94 |
+
"""
|
95 |
chatbot = gr.Chatbot()
|
96 |
chatbot.change(None,[chatbot],[],js=js)
|
97 |
msg = gr.Textbox()
|