LTEnjoy commited on
Commit
8355ae1
1 Parent(s): 2a00188

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ with gr.Blocks(title="SaprotHub", fill_width=True) as demo:
29
  # iframe = f'<iframe srcdoc="{response.text}" width="100%"></iframe>'
30
  iframe = f'<iframe src="{url}" width="100%" height="800"></iframe>'
31
  # HTML = gr.HTML(open("/root/PycharmProjects/SaprotHub/hub_demo/test.html").read())
32
- HTML = gr.HTML(iframe)
33
 
34
 
35
  if __name__ == '__main__':
 
29
  # iframe = f'<iframe srcdoc="{response.text}" width="100%"></iframe>'
30
  iframe = f'<iframe src="{url}" width="100%" height="800"></iframe>'
31
  # HTML = gr.HTML(open("/root/PycharmProjects/SaprotHub/hub_demo/test.html").read())
32
+ HTML = gr.HTML(response.text)
33
 
34
 
35
  if __name__ == '__main__':