Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ def chat(selected_option=None, radio_score=None, url_params=None):
|
|
219 |
history = chat_history + history
|
220 |
chatbot.value = history
|
221 |
chatbot.update(value=history)
|
222 |
-
|
223 |
return history
|
224 |
|
225 |
|
@@ -250,7 +250,8 @@ def update_target_website():
|
|
250 |
global chat_history
|
251 |
global client
|
252 |
global name
|
253 |
-
|
|
|
254 |
name = "no username"
|
255 |
|
256 |
chat_history = [
|
|
|
219 |
history = chat_history + history
|
220 |
chatbot.value = history
|
221 |
chatbot.update(value=history)
|
222 |
+
client = None
|
223 |
return history
|
224 |
|
225 |
|
|
|
250 |
global chat_history
|
251 |
global client
|
252 |
global name
|
253 |
+
|
254 |
+
client = None
|
255 |
name = "no username"
|
256 |
|
257 |
chat_history = [
|