Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
|
| 4 |
-
PRIVATE_SPACE_ID = "ShankarC/StockAdvisorCL"
|
| 5 |
|
| 6 |
with gr.Blocks() as demo:
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
# Add the loaded component to your Blocks app
|
| 11 |
-
private_app_component.render()
|
| 12 |
|
| 13 |
if __name__ == "__main__":
|
| 14 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
private_space_url = "https://huggingface.co/spaces/ShankarC/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()
|