update app
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ css = """
|
|
| 106 |
"""
|
| 107 |
|
| 108 |
# Create the Gradio interface with Blocks
|
| 109 |
-
with gr.Blocks(
|
| 110 |
gr.Markdown("# **Florence-2 Models Image Captions**")
|
| 111 |
gr.Markdown(description)
|
| 112 |
with gr.Row():
|
|
@@ -124,4 +124,4 @@ with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
| 124 |
generate_btn.click(fn=describe_image, inputs=[image_input, model_choice], outputs=output)
|
| 125 |
|
| 126 |
# Launch the interface
|
| 127 |
-
demo.launch(debug=True, mcp_server=True, ssr_mode=False, show_error=True)
|
|
|
|
| 106 |
"""
|
| 107 |
|
| 108 |
# Create the Gradio interface with Blocks
|
| 109 |
+
with gr.Blocks() as demo:
|
| 110 |
gr.Markdown("# **Florence-2 Models Image Captions**")
|
| 111 |
gr.Markdown(description)
|
| 112 |
with gr.Row():
|
|
|
|
| 124 |
generate_btn.click(fn=describe_image, inputs=[image_input, model_choice], outputs=output)
|
| 125 |
|
| 126 |
# Launch the interface
|
| 127 |
+
demo.launch(theme="bethecloud/storj_theme", css=css, debug=True, mcp_server=True, ssr_mode=False, show_error=True)
|