Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,6 +47,7 @@ def generate_response(prompt_template, **kwargs):
|
|
| 47 |
top_p=0.8
|
| 48 |
)
|
| 49 |
response_content = response.choices[0].message["content"]
|
|
|
|
| 50 |
formatted_response = preprocess_latex(response_content)
|
| 51 |
return gr.update(value=f"{formatted_response}")
|
| 52 |
|
|
|
|
| 47 |
top_p=0.8
|
| 48 |
)
|
| 49 |
response_content = response.choices[0].message["content"]
|
| 50 |
+
print(response_content)
|
| 51 |
formatted_response = preprocess_latex(response_content)
|
| 52 |
return gr.update(value=f"{formatted_response}")
|
| 53 |
|