Spaces:
Running
on
Zero
Running
on
Zero
VictorSanh
commited on
Commit
•
1056de2
1
Parent(s):
844c526
fixes
Browse files
app.py
CHANGED
@@ -328,9 +328,7 @@ with gr.Blocks(title="Img2html", theme=gr.themes.Base(), css=css) as demo:
|
|
328 |
)
|
329 |
regenerate_btn.click(
|
330 |
fn=model_inference,
|
331 |
-
inputs=[
|
332 |
-
imagebox,
|
333 |
-
],
|
334 |
outputs=[generated_html, rendered_html],
|
335 |
queue=False,
|
336 |
)
|
@@ -343,6 +341,7 @@ with gr.Blocks(title="Img2html", theme=gr.themes.Base(), css=css) as demo:
|
|
343 |
fn=model_inference,
|
344 |
inputs=[imagebox],
|
345 |
outputs=[generated_html, rendered_html],
|
|
|
346 |
)
|
347 |
demo.load(queue=False)
|
348 |
|
|
|
328 |
)
|
329 |
regenerate_btn.click(
|
330 |
fn=model_inference,
|
331 |
+
inputs=[imagebox],
|
|
|
|
|
332 |
outputs=[generated_html, rendered_html],
|
333 |
queue=False,
|
334 |
)
|
|
|
341 |
fn=model_inference,
|
342 |
inputs=[imagebox],
|
343 |
outputs=[generated_html, rendered_html],
|
344 |
+
queue=False,
|
345 |
)
|
346 |
demo.load(queue=False)
|
347 |
|