Commit ·
93159a8
1
Parent(s): dced631
clean/ Removed Debugs
Browse files
app.py
CHANGED
|
@@ -311,8 +311,6 @@ with gr.Blocks() as demo:
|
|
| 311 |
|
| 312 |
history[-1]["metadata"]["status"] = "done"
|
| 313 |
yield history
|
| 314 |
-
|
| 315 |
-
print("DEBUG:\t\tYielded history of ```thinking_result```")
|
| 316 |
|
| 317 |
final_conversation = []
|
| 318 |
if system_prompt:
|
|
@@ -343,7 +341,6 @@ with gr.Blocks() as demo:
|
|
| 343 |
repetition_penalty=rep_penalty):
|
| 344 |
history[-1]["content"] = final_partial
|
| 345 |
yield history
|
| 346 |
-
print("DEBUG:\t\tYielded history of ```final_answer```")
|
| 347 |
|
| 348 |
except Exception as e:
|
| 349 |
error_traceback = traceback.format_exc()
|
|
|
|
| 311 |
|
| 312 |
history[-1]["metadata"]["status"] = "done"
|
| 313 |
yield history
|
|
|
|
|
|
|
| 314 |
|
| 315 |
final_conversation = []
|
| 316 |
if system_prompt:
|
|
|
|
| 341 |
repetition_penalty=rep_penalty):
|
| 342 |
history[-1]["content"] = final_partial
|
| 343 |
yield history
|
|
|
|
| 344 |
|
| 345 |
except Exception as e:
|
| 346 |
error_traceback = traceback.format_exc()
|