Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def handle_click(chatbot, fix_input, ep, ak, sk, evt:gr.SelectData):
|
|
| 87 |
lines[cnt]['messages'][index + 1 + j]['content'] = fix_input
|
| 88 |
return chatbot, ""
|
| 89 |
|
| 90 |
-
if j == 0:
|
| 91 |
return chatbot
|
| 92 |
|
| 93 |
messages = [
|
|
|
|
| 87 |
lines[cnt]['messages'][index + 1 + j]['content'] = fix_input
|
| 88 |
return chatbot, ""
|
| 89 |
|
| 90 |
+
if j == 0 or ep is None or ak is None or sk is None:
|
| 91 |
return chatbot
|
| 92 |
|
| 93 |
messages = [
|