Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -393,7 +393,8 @@ def main():
|
|
393 |
history = []
|
394 |
|
395 |
return "", history + [[user_message, None]]
|
396 |
-
|
|
|
397 |
def bot(history):
|
398 |
lenght = len(history)
|
399 |
userMessage = history[lenght-1][0]
|
|
|
393 |
history = []
|
394 |
|
395 |
return "", history + [[user_message, None]]
|
396 |
+
|
397 |
+
@spaces.GPU(duration=150)
|
398 |
def bot(history):
|
399 |
lenght = len(history)
|
400 |
userMessage = history[lenght-1][0]
|