Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,9 +86,9 @@ def inference(img):
|
|
| 86 |
return out
|
| 87 |
|
| 88 |
|
| 89 |
-
title = "
|
| 90 |
-
description = "
|
| 91 |
-
article = "
|
| 92 |
|
| 93 |
examples=[['Example00001.jpg'],['Example00002.jpg'],['Example00003.jpg'],['Example00004.jpg'],['Example00005.jpg'], ['Example00006.jpg']]
|
| 94 |
gr.Interface(inference, gr.inputs.Image(type="pil",shape=(1024,1024)), gr.outputs.Image(type="pil"),title=title,description=description,article=article,examples=examples,enable_queue=True,allow_flagging=False).launch()
|
|
|
|
| 86 |
return out
|
| 87 |
|
| 88 |
|
| 89 |
+
title = ""
|
| 90 |
+
description = ""
|
| 91 |
+
article = ""
|
| 92 |
|
| 93 |
examples=[['Example00001.jpg'],['Example00002.jpg'],['Example00003.jpg'],['Example00004.jpg'],['Example00005.jpg'], ['Example00006.jpg']]
|
| 94 |
gr.Interface(inference, gr.inputs.Image(type="pil",shape=(1024,1024)), gr.outputs.Image(type="pil"),title=title,description=description,article=article,examples=examples,enable_queue=True,allow_flagging=False).launch()
|