Spaces:
Sleeping
Sleeping
NCTCMumbai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -110,6 +110,7 @@ def bot(history, api_kind):
|
|
110 |
history[-1][1] = ""
|
111 |
for character in generate_fn(prompt, history[:-1]):
|
112 |
history[-1][1] = character
|
|
|
113 |
return history, prompt_html
|
114 |
# yield history, prompt_html
|
115 |
except Exception as e: # Catch any exception
|
|
|
110 |
history[-1][1] = ""
|
111 |
for character in generate_fn(prompt, history[:-1]):
|
112 |
history[-1][1] = character
|
113 |
+
print('final history is ',history)
|
114 |
return history, prompt_html
|
115 |
# yield history, prompt_html
|
116 |
except Exception as e: # Catch any exception
|