Update app.py
Browse files
app.py
CHANGED
@@ -232,7 +232,7 @@ if api_key:
|
|
232 |
if user_input:
|
233 |
# Create prompt with history and new input
|
234 |
prompt = history.copy()
|
235 |
-
prompt.extend([f"{user_input}"])
|
236 |
print(prompt)
|
237 |
# Generate response
|
238 |
try:
|
|
|
232 |
if user_input:
|
233 |
# Create prompt with history and new input
|
234 |
prompt = history.copy()
|
235 |
+
prompt.extend([f"input: {user_input}", "output: "])
|
236 |
print(prompt)
|
237 |
# Generate response
|
238 |
try:
|