Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def predict(image: PIL.Image.Image, score_threshold: float,
|
|
130 |
message = ""
|
131 |
info = f"<div><p>{message}<p></div>"
|
132 |
|
133 |
-
return (a,res,
|
134 |
|
135 |
|
136 |
def main():
|
@@ -156,7 +156,6 @@ def main():
|
|
156 |
[
|
157 |
gr.outputs.Textbox(label='Output String'),
|
158 |
gr.outputs.Label(label='Output Labels'),
|
159 |
-
gr.outputs.HTML(visible=False),
|
160 |
gr.outputs.HTML()
|
161 |
],
|
162 |
examples=[
|
|
|
130 |
message = ""
|
131 |
info = f"<div><p>{message}<p></div>"
|
132 |
|
133 |
+
return (a,res,info)
|
134 |
|
135 |
|
136 |
def main():
|
|
|
156 |
[
|
157 |
gr.outputs.Textbox(label='Output String'),
|
158 |
gr.outputs.Label(label='Output Labels'),
|
|
|
159 |
gr.outputs.HTML()
|
160 |
],
|
161 |
examples=[
|