Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ def predict(input, history=[]):
|
|
| 37 |
# Convert tokens to text, and split the response into lines
|
| 38 |
response = tokenizer.decode(history[0], skip_special_tokens=True)
|
| 39 |
|
|
|
|
| 40 |
return response, history
|
| 41 |
|
| 42 |
def main():
|
|
|
|
| 37 |
# Convert tokens to text, and split the response into lines
|
| 38 |
response = tokenizer.decode(history[0], skip_special_tokens=True)
|
| 39 |
|
| 40 |
+
print("Response:", response) # Debug statement
|
| 41 |
return response, history
|
| 42 |
|
| 43 |
def main():
|