Spaces:
Running
on
A10G
Running
on
A10G
lengyue233
commited on
Commit
•
a53df75
1
Parent(s):
7d47bb6
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def build_html_error_message(error):
|
|
111 |
return f"""
|
112 |
<div style="color: red;
|
113 |
font-weight: bold;">
|
114 |
-
{html.escape(error)}
|
115 |
</div>
|
116 |
"""
|
117 |
|
|
|
111 |
return f"""
|
112 |
<div style="color: red;
|
113 |
font-weight: bold;">
|
114 |
+
{html.escape(str(error))}
|
115 |
</div>
|
116 |
"""
|
117 |
|