Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -485,19 +485,19 @@ with gr.Blocks() as app:
|
|
485 |
pdf_url = gr.Textbox(label="PDF URL")
|
486 |
with gr.Tab("PDF Batch"):
|
487 |
pdf_batch = gr.Textbox(label="PDF URL Batch (comma separated)")
|
|
|
|
|
|
|
|
|
|
|
488 |
with gr.Row():
|
489 |
with gr.Column(scale=3):
|
490 |
-
|
491 |
with gr.Column(scale=1):
|
492 |
wid=gr.Number(label="Width",value=1000)
|
493 |
hgt=gr.Number(label="Height",value=4000)
|
494 |
seed_slider=gr.Slider(label="Seed",step=1,minimum=1,maximum=9999999999999999999,value=1,interactive=True)
|
495 |
-
zoom_btn=gr.Slider(label="Zoom",step=0.01,minimum=0.1,maximum=20,value=1,interactive=True)
|
496 |
-
e_box=gr.Textbox(label="Graph Code",interactive=True)
|
497 |
-
with gr.Row():
|
498 |
-
upd_button=gr.Button("Update Chart")
|
499 |
-
create_im=gr.Button("Create Image")
|
500 |
-
svg_img=gr.Image()
|
501 |
url_box=gr.Textbox(label="Graph URL",interactive=True)
|
502 |
|
503 |
json_out=gr.JSON()
|
|
|
485 |
pdf_url = gr.Textbox(label="PDF URL")
|
486 |
with gr.Tab("PDF Batch"):
|
487 |
pdf_batch = gr.Textbox(label="PDF URL Batch (comma separated)")
|
488 |
+
m_box=gr.HTML()
|
489 |
+
e_box=gr.Textbox(label="Graph Code",interactive=True)
|
490 |
+
with gr.Row():
|
491 |
+
upd_button=gr.Button("Update Chart")
|
492 |
+
create_im=gr.Button("Create Image")
|
493 |
with gr.Row():
|
494 |
with gr.Column(scale=3):
|
495 |
+
svg_img=gr.Image()
|
496 |
with gr.Column(scale=1):
|
497 |
wid=gr.Number(label="Width",value=1000)
|
498 |
hgt=gr.Number(label="Height",value=4000)
|
499 |
seed_slider=gr.Slider(label="Seed",step=1,minimum=1,maximum=9999999999999999999,value=1,interactive=True)
|
500 |
+
zoom_btn=gr.Slider(label="Zoom",step=0.01,minimum=0.1,maximum=20,value=1,interactive=True)
|
|
|
|
|
|
|
|
|
|
|
501 |
url_box=gr.Textbox(label="Graph URL",interactive=True)
|
502 |
|
503 |
json_out=gr.JSON()
|