Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
-
import
|
| 2 |
-
import streamlit as st
|
| 3 |
-
import streamlit.components.v1 as components
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
iframe_html = """
|
| 8 |
<!DOCTYPE html>
|
| 9 |
<html>
|
| 10 |
<head>
|
|
@@ -26,4 +22,8 @@ iframe_html = """
|
|
| 26 |
</body>
|
| 27 |
</html>
|
| 28 |
"""
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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()
|