Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def chat(
|
|
66 |
history.append((inp, "Please paste your OpenAI key to use"))
|
67 |
return history, history
|
68 |
# Run chain and append input.
|
69 |
-
output = chain.run(
|
70 |
history.append((inp, output))
|
71 |
return history, history
|
72 |
|
|
|
66 |
history.append((inp, "Please paste your OpenAI key to use"))
|
67 |
return history, history
|
68 |
# Run chain and append input.
|
69 |
+
output = chain.run(human_input=inp)
|
70 |
history.append((inp, output))
|
71 |
return history, history
|
72 |
|