Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,17 @@
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# Gradio interface
|
5 |
with gr.Blocks() as app:
|
6 |
-
gr.HTML(
|
7 |
|
8 |
-
# Launch the
|
9 |
app.launch()
|
10 |
|
11 |
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
# Function to display the embedded HTML page
|
4 |
+
def show_did_agent():
|
5 |
+
return """
|
6 |
+
<iframe src="index.html" width="100%" height="500px" style="border:none;"></iframe>
|
7 |
+
"""
|
8 |
|
9 |
# Gradio interface
|
10 |
with gr.Blocks() as app:
|
11 |
+
gr.HTML(show_did_agent())
|
12 |
|
13 |
+
# Launch the app
|
14 |
app.launch()
|
15 |
|
16 |
|
17 |
+
|