fffiloni commited on
Commit
48aa533
·
1 Parent(s): d02f182

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -18,13 +18,17 @@ def compare(image):
18
  api_name="/predict"
19
  )
20
 
21
- coca_cap = "comming soon..."
22
 
23
- return ci_cap, coca_cap, fuse_cap
24
 
25
 
26
- with gr.Blocks() as demo:
27
- with gr.Column():
 
 
 
 
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
  """)