ShankarC commited on
Commit
b7b59c8
·
verified ·
1 Parent(s): 33cf95e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,11 +1,10 @@
1
  import gradio as gr
2
 
3
- PRIVATE_SPACE_ID = "AIStockAdvisor/StockAdvisorCL"
4
 
5
  with gr.Blocks() as demo:
6
  gr.Markdown("### Embedded Private Space UI")
7
- # Add the Dependency component directly
8
- gr.Component.update(private_app := gr.Blocks.load(PRIVATE_SPACE_ID)) # This is just to assign and add
9
 
10
  if __name__ == "__main__":
11
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ private_space_url = "https://huggingface.co/spaces/AIStockAdvisor/StockAdvisorCL"
4
 
5
  with gr.Blocks() as demo:
6
  gr.Markdown("### Embedded Private Space UI")
7
+ gr.HTML(f'<iframe src="{private_space_url}" width="100%" height="800" frameborder="0"></iframe>')
 
8
 
9
  if __name__ == "__main__":
10
  demo.launch()