Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def request_model(model_text):
|
|
53 |
return styled_error(f"Base model '{model_text}' {error_msg}")
|
54 |
|
55 |
# Check if the model has already been evaluated using the raw 'model' column
|
56 |
-
if model_text in original_df['
|
57 |
return styled_error(f"The model '{model_text}' is already in the leaderboard.")
|
58 |
|
59 |
try:
|
|
|
53 |
return styled_error(f"Base model '{model_text}' {error_msg}")
|
54 |
|
55 |
# Check if the model has already been evaluated using the raw 'model' column
|
56 |
+
if model_text in original_df['Model'].values:
|
57 |
return styled_error(f"The model '{model_text}' is already in the leaderboard.")
|
58 |
|
59 |
try:
|