Spaces:
Running
Running
Commit
·
d0be156
1
Parent(s):
6314bb5
fix f string
Browse files
text_classification_ui_helpers.py
CHANGED
@@ -224,7 +224,7 @@ def align_columns_and_show_prediction(
|
|
224 |
)
|
225 |
|
226 |
if isinstance(prediction_response, Exception):
|
227 |
-
gr.Warning("Inference API loading error: {prediction_response}. Please check your model or Hugging Face token.")
|
228 |
return (
|
229 |
gr.update(visible=False),
|
230 |
gr.update(visible=False),
|
|
|
224 |
)
|
225 |
|
226 |
if isinstance(prediction_response, Exception):
|
227 |
+
gr.Warning(f"Inference API loading error: {prediction_response}. Please check your model or Hugging Face token.")
|
228 |
return (
|
229 |
gr.update(visible=False),
|
230 |
gr.update(visible=False),
|