Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -128,6 +128,7 @@ def add_message(history, message):
|
|
128 |
history.append((message["text"], None))
|
129 |
return history, gr.MultimodalTextbox(value=None, interactive=False)
|
130 |
|
|
|
131 |
def bot(history):
|
132 |
text=history[-1][0]
|
133 |
images_this_term=[]
|
|
|
128 |
history.append((message["text"], None))
|
129 |
return history, gr.MultimodalTextbox(value=None, interactive=False)
|
130 |
|
131 |
+
@spaces.GPU
|
132 |
def bot(history):
|
133 |
text=history[-1][0]
|
134 |
images_this_term=[]
|