Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ hf_token = os.environ.get('HF_TOKEN') # Or another secret name you set
|
|
| 6 |
|
| 7 |
# Load the Gradio Blocks from the private Space
|
| 8 |
# Replace "your-username-or-org" and "your-private-space-name" with your details
|
| 9 |
-
iface = gr.load(name="AIStockAdvisor/
|
| 10 |
|
| 11 |
# Optional: Disable the API endpoint of the loaded interface
|
| 12 |
iface.queue(api_open=False).launch(show_api=False) # Or you might just call launch() directly
|
|
|
|
| 6 |
|
| 7 |
# Load the Gradio Blocks from the private Space
|
| 8 |
# Replace "your-username-or-org" and "your-private-space-name" with your details
|
| 9 |
+
iface = gr.load(name="AIStockAdvisor/TestCL", hf_token=hf_token, src='spaces')
|
| 10 |
|
| 11 |
# Optional: Disable the API endpoint of the loaded interface
|
| 12 |
iface.queue(api_open=False).launch(show_api=False) # Or you might just call launch() directly
|