Spaces:
Sleeping
Sleeping
freshbash
commited on
Commit
·
ffcbb2b
1
Parent(s):
212419a
added change for logging
Browse files
app.py
CHANGED
|
@@ -41,6 +41,8 @@ def respond(
|
|
| 41 |
)
|
| 42 |
print("Response generated!")
|
| 43 |
|
|
|
|
|
|
|
| 44 |
# Split by "Answer:" from the right and get the last part
|
| 45 |
response = output.rsplit("Answer: ", 1)[-1]
|
| 46 |
|
|
|
|
| 41 |
)
|
| 42 |
print("Response generated!")
|
| 43 |
|
| 44 |
+
print(output)
|
| 45 |
+
|
| 46 |
# Split by "Answer:" from the right and get the last part
|
| 47 |
response = output.rsplit("Answer: ", 1)[-1]
|
| 48 |
|