Omnibus commited on
Commit
ca288cd
·
1 Parent(s): 0be0da2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,8 +30,7 @@ def scrape(instring):
30
  print ("No Divs")
31
 
32
  out = IFrame(src={instring}, width=700, height=600)
33
- return out
34
-
35
  with gr.Blocks() as app:
36
  inp=gr.Textbox()
37
  go_btn = gr.Button()
 
30
  print ("No Divs")
31
 
32
  out = IFrame(src={instring}, width=700, height=600)
33
+ return gr.HTML.update(f'''<iframe src={instring}></iframe''')
 
34
  with gr.Blocks() as app:
35
  inp=gr.Textbox()
36
  go_btn = gr.Button()