Spaces:
Runtime error
Runtime error
Commit
•
b05c828
1
Parent(s):
62ca94b
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def chat(message, npc_name, initial_prompt, top_p, temperature, max_new_tokens,
|
|
81 |
response = answer
|
82 |
print("response", answer)
|
83 |
history[-1] = (message, response)
|
84 |
-
return
|
85 |
|
86 |
|
87 |
#io = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
|
|
81 |
response = answer
|
82 |
print("response", answer)
|
83 |
history[-1] = (message, response)
|
84 |
+
return history, history
|
85 |
|
86 |
|
87 |
#io = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|