Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -709,7 +709,7 @@ with gr.Blocks(theme='shivi/calm_seafoam', css_paths='style.css', js=js_func) as
|
|
| 709 |
for _, row in predictions_dict[model].head(100).iterrows():
|
| 710 |
#for index, row in target_df.iterrows():
|
| 711 |
if (reset_flag == False):
|
| 712 |
-
percent_complete = round(count / len(
|
| 713 |
count=count+1
|
| 714 |
load_text = f"{generate_loading_text(percent_complete)}"
|
| 715 |
question = row['question']
|
|
|
|
| 709 |
for _, row in predictions_dict[model].head(100).iterrows():
|
| 710 |
#for index, row in target_df.iterrows():
|
| 711 |
if (reset_flag == False):
|
| 712 |
+
percent_complete = round(count / len(predictions_dict[model].head(100)) * 100, 2)
|
| 713 |
count=count+1
|
| 714 |
load_text = f"{generate_loading_text(percent_complete)}"
|
| 715 |
question = row['question']
|