zyliu commited on
Commit
cc342ba
1 Parent(s): 034f3f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1,10 +1,6 @@
1
- import os
2
- import streamlit as st
3
- import streamlit.components.v1 as components
4
 
5
- st.set_page_config(layout="wide")
6
-
7
- iframe_html = """
8
  <!DOCTYPE html>
9
  <html>
10
  <head>
@@ -26,4 +22,8 @@ iframe_html = """
26
  </body>
27
  </html>
28
  """
29
- components.html(iframe_html, height=1200)
 
 
 
 
 
1
+ import gradio as gr
 
 
2
 
3
+ html = """
 
 
4
  <!DOCTYPE html>
5
  <html>
6
  <head>
 
22
  </body>
23
  </html>
24
  """
25
+
26
+ with gr.Blocks() as demo:
27
+ name = gr.HTML(html)
28
+
29
+ demo.launch()