Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,13 +18,17 @@ def compare(image):
|
|
| 18 |
api_name="/predict"
|
| 19 |
)
|
| 20 |
|
| 21 |
-
coca_cap = "
|
| 22 |
|
| 23 |
-
return ci_cap, coca_cap, fuse_cap
|
| 24 |
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
gr.Markdown("""
|
| 29 |
# Caption compare
|
| 30 |
""")
|
|
|
|
| 18 |
api_name="/predict"
|
| 19 |
)
|
| 20 |
|
| 21 |
+
coca_cap = "coming soon..."
|
| 22 |
|
| 23 |
+
return ci_cap[0], coca_cap, fuse_cap
|
| 24 |
|
| 25 |
|
| 26 |
+
css = """
|
| 27 |
+
#col-container {max-width: 510px; margin-left: auto; margin-right: auto;}
|
| 28 |
+
"""
|
| 29 |
+
|
| 30 |
+
with gr.Blocks(css=css) as demo:
|
| 31 |
+
with gr.Column(elem_id="col-container"):
|
| 32 |
gr.Markdown("""
|
| 33 |
# Caption compare
|
| 34 |
""")
|