Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -403,7 +403,7 @@ CSS = """
|
|
| 403 |
#lq-go { font-size:1.02rem !important; font-weight:700 !important; }
|
| 404 |
"""
|
| 405 |
|
| 406 |
-
with gr.Blocks(
|
| 407 |
gr.HTML(
|
| 408 |
'<div id="lq-hero">'
|
| 409 |
"<h1>💧 Liquid Image → JSON</h1>"
|
|
@@ -437,4 +437,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, head=HEAD, title="Liquid Image
|
|
| 437 |
go.click(extract, [image, model_key, schema_store], result)
|
| 438 |
|
| 439 |
if __name__ == "__main__":
|
| 440 |
-
demo.queue(max_size=20).launch()
|
|
|
|
| 403 |
#lq-go { font-size:1.02rem !important; font-weight:700 !important; }
|
| 404 |
"""
|
| 405 |
|
| 406 |
+
with gr.Blocks(title="Liquid Image → JSON") as demo:
|
| 407 |
gr.HTML(
|
| 408 |
'<div id="lq-hero">'
|
| 409 |
"<h1>💧 Liquid Image → JSON</h1>"
|
|
|
|
| 437 |
go.click(extract, [image, model_key, schema_store], result)
|
| 438 |
|
| 439 |
if __name__ == "__main__":
|
| 440 |
+
demo.queue(max_size=20).launch(theme=gr.themes.Citrus(), css=CSS, head=HEAD)
|