Spaces:
Running
on
Zero
Running
on
Zero
Update spaces/zero/gradio.py
Browse files- spaces/zero/gradio.py +1 -1
spaces/zero/gradio.py
CHANGED
@@ -167,7 +167,7 @@ def one_launch(task: Callable[Param, None], *task_args: Param.args, **task_kwarg
|
|
167 |
|
168 |
class HTMLError(gr.Error):
|
169 |
def __str__(self): # pragma: no cover
|
170 |
-
return self.message
|
171 |
|
172 |
|
173 |
def error(title: str, message: str, html: bool = False):
|
|
|
167 |
|
168 |
class HTMLError(gr.Error):
|
169 |
def __str__(self): # pragma: no cover
|
170 |
+
return str(self.message)
|
171 |
|
172 |
|
173 |
def error(title: str, message: str, html: bool = False):
|