Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,15 +60,16 @@ examples=[
|
|
60 |
|
61 |
|
62 |
#interface =
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
72 |
).launch(enable_queue=True,cache_examples=True)
|
73 |
|
74 |
"""
|
|
|
60 |
|
61 |
|
62 |
#interface =
|
63 |
+
gr.Interface(
|
64 |
+
inference,
|
65 |
+
gr.inputs.Image(type="pil"),
|
66 |
+
gr.outputs.Image(type="pil"),
|
67 |
+
title=title,
|
68 |
+
description=description,
|
69 |
+
article=article,
|
70 |
+
examples=examples,
|
71 |
+
allow_flagging=False,
|
72 |
+
allow_screenshot=False
|
73 |
).launch(enable_queue=True,cache_examples=True)
|
74 |
|
75 |
"""
|