Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,10 +61,6 @@ def parse_text(text):
|
|
| 61 |
|
| 62 |
def chatgpt_clone(inputs, history):
|
| 63 |
history = history or []
|
| 64 |
-
# s = list(sum(history, ()))
|
| 65 |
-
# s.append(inputs)
|
| 66 |
-
# inp = ' '.join(s)
|
| 67 |
-
# print(inp)
|
| 68 |
output = ask_bot(inputs)
|
| 69 |
history.append((inputs, output))
|
| 70 |
return history, history
|
|
|
|
| 61 |
|
| 62 |
def chatgpt_clone(inputs, history):
|
| 63 |
history = history or []
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
output = ask_bot(inputs)
|
| 65 |
history.append((inputs, output))
|
| 66 |
return history, history
|