Spaces:
Sleeping
Sleeping
Add print statement to response
Browse files
app.py
CHANGED
@@ -95,6 +95,7 @@ def model_call(question, document, answer):
|
|
95 |
model="gpt-3.5-turbo-instruct",
|
96 |
prompt=NEW_FORMAT
|
97 |
)
|
|
|
98 |
generated_text = response['choices'][0]['text']
|
99 |
# inputs = tokenizer(NEW_FORMAT, return_tensors="pt")
|
100 |
# print("INPUTS", inputs)
|
|
|
95 |
model="gpt-3.5-turbo-instruct",
|
96 |
prompt=NEW_FORMAT
|
97 |
)
|
98 |
+
print("RESPONSE FROM CLIENT:", response)
|
99 |
generated_text = response['choices'][0]['text']
|
100 |
# inputs = tokenizer(NEW_FORMAT, return_tensors="pt")
|
101 |
# print("INPUTS", inputs)
|