sasha HF staff commited on
Commit
5e5c4f6
1 Parent(s): d276596

Update app.py

Browse files

fixing indentation

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,9 +69,9 @@ for i in range (len(models)):
69
  try:
70
  globals()[f"tokenizer_{i}"] = AutoTokenizer.from_pretrained(models[i])
71
  globals()[f"model_{i}"] = AutoModelForSequenceClassification.from_pretrained(models[i])
72
- st.text("Loaded model "+ str(models[i]))
73
  except:
74
- st.text("Sorry, I can't load model "+ str(models[i]))
75
 
76
  ### Defining metrics
77
  for i in range (len(metrics)):
 
69
  try:
70
  globals()[f"tokenizer_{i}"] = AutoTokenizer.from_pretrained(models[i])
71
  globals()[f"model_{i}"] = AutoModelForSequenceClassification.from_pretrained(models[i])
72
+ st.text("Loaded model "+ str(models[i]))
73
  except:
74
+ st.text("Sorry, I can't load model "+ str(models[i]))
75
 
76
  ### Defining metrics
77
  for i in range (len(metrics)):