Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -227,15 +227,11 @@ def process_document_stream(model_name: str, task_choice: str, image: Image.Imag
|
|
227 |
def create_gradio_interface():
|
228 |
"""Builds and returns the Gradio web interface."""
|
229 |
css = """
|
230 |
-
#title{text-align: center}
|
231 |
-
#title h1{font-size: 3em; display:inline-flex; align-items:center}
|
232 |
-
#title img{width: 100px; margin-right: 0.5em}
|
233 |
.main-container { max-width: 1400px; margin: 0 auto; }
|
234 |
.process-button { border: none !important; color: white !important; font-weight: bold !important; background-color: blue !important;}
|
235 |
.process-button:hover { background-color: darkblue !important; transform: translateY(-2px) !important; box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important; }
|
236 |
"""
|
237 |
with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
238 |
-
gr.HTML("""<h1>Tiny VLMs Lab🧪</h1>""", elem_id="title",)
|
239 |
gr.HTML("""
|
240 |
<div class="title" style="text-align: center">
|
241 |
<p style="font-size: 1.1em; color: #6b7280; margin-bottom: 0.6em;">
|
|
|
227 |
def create_gradio_interface():
|
228 |
"""Builds and returns the Gradio web interface."""
|
229 |
css = """
|
|
|
|
|
|
|
230 |
.main-container { max-width: 1400px; margin: 0 auto; }
|
231 |
.process-button { border: none !important; color: white !important; font-weight: bold !important; background-color: blue !important;}
|
232 |
.process-button:hover { background-color: darkblue !important; transform: translateY(-2px) !important; box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important; }
|
233 |
"""
|
234 |
with gr.Blocks(theme="bethecloud/storj_theme", css=css) as demo:
|
|
|
235 |
gr.HTML("""
|
236 |
<div class="title" style="text-align: center">
|
237 |
<p style="font-size: 1.1em; color: #6b7280; margin-bottom: 0.6em;">
|