Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,15 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
-
# Load a space from Hugging Face
|
| 4 |
-
iface = gr.load("spaces/Preeda/private_test")
|
| 5 |
-
# iface = gr.load("spaces/Preeda/stock_auto_update")
|
| 6 |
-
|
| 7 |
-
|
| 8 |
import os
|
| 9 |
|
| 10 |
# Replace 'your_token_here' with your actual Hugging Face access token
|
| 11 |
|
| 12 |
-
|
| 13 |
# hf_token = os.environ['hf_write']
|
| 14 |
hf_write = os.getenv('hf_write')
|
| 15 |
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import os
|
| 3 |
|
| 4 |
# Replace 'your_token_here' with your actual Hugging Face access token
|
| 5 |
|
|
|
|
| 6 |
# hf_token = os.environ['hf_write']
|
| 7 |
hf_write = os.getenv('hf_write')
|
| 8 |
|