simone-papicchio commited on
Commit
99b8421
·
verified ·
1 Parent(s): 3a60fb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(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']
 
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']