Omnibus commited on
Commit
b5933ff
·
verified ·
1 Parent(s): 8a85d52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -114,6 +114,7 @@ with gr.Blocks() as app:
114
  with gr.Row():
115
  with gr.Column():
116
  inp = gr.Textbox(label="URL (must be Public)",lines=1)
 
117
  btn= gr.Button()
118
 
119
  with gr.Column():
@@ -128,6 +129,6 @@ with gr.Blocks() as app:
128
  out=gr.Image()
129
  outgal=gr.Gallery()
130
  outim = gr.Image()
131
- btn.click(html2im,inp,out)
132
  #btn.click(run_script,[inp,height,width,check_b,check_h],[outim,message,outgal,out])
133
  app.queue(default_concurrency_limit=5).launch()
 
114
  with gr.Row():
115
  with gr.Column():
116
  inp = gr.Textbox(label="URL (must be Public)",lines=1)
117
+ css_inp=gr.Textbox(label="CSS")
118
  btn= gr.Button()
119
 
120
  with gr.Column():
 
129
  out=gr.Image()
130
  outgal=gr.Gallery()
131
  outim = gr.Image()
132
+ btn.click(html2im,[inp,css],out)
133
  #btn.click(run_script,[inp,height,width,check_b,check_h],[outim,message,outgal,out])
134
  app.queue(default_concurrency_limit=5).launch()