Spaces:
Running
Running
Update simple_app.py
Browse files- simple_app.py +1 -1
simple_app.py
CHANGED
|
@@ -71,7 +71,7 @@ def infer(prompt, progress=gr.Progress(track_tqdm=True)):
|
|
| 71 |
overall_bar.update(1)
|
| 72 |
percentage = (overall_bar.n / overall_bar.total) * 100
|
| 73 |
# Combine percentage and INFO message into one description.
|
| 74 |
-
overall_bar.
|
| 75 |
overall_bar.refresh()
|
| 76 |
else:
|
| 77 |
# Print any other lines.
|
|
|
|
| 71 |
overall_bar.update(1)
|
| 72 |
percentage = (overall_bar.n / overall_bar.total) * 100
|
| 73 |
# Combine percentage and INFO message into one description.
|
| 74 |
+
overall_bar.desc = f"Overall Process MICHEL- {percentage:.1f}% | {msg}"
|
| 75 |
overall_bar.refresh()
|
| 76 |
else:
|
| 77 |
# Print any other lines.
|