Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ history = []
|
|
| 13 |
def generate_text(input_text, history):
|
| 14 |
print("history ",history)
|
| 15 |
print("input ", input_text)
|
|
|
|
| 16 |
if history == []:
|
| 17 |
input_text_with_history = f"Q: {input_text} \n A:"
|
| 18 |
else:
|
|
|
|
| 13 |
def generate_text(input_text, history):
|
| 14 |
print("history ",history)
|
| 15 |
print("input ", input_text)
|
| 16 |
+
print("response", response)
|
| 17 |
if history == []:
|
| 18 |
input_text_with_history = f"Q: {input_text} \n A:"
|
| 19 |
else:
|