Manasa1 commited on
Commit
aa1a756
·
verified ·
1 Parent(s): 0e30855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
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(embed_did_agent())
7
 
8
- # Launch the Gradio interface
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
+