Spaces:
Runtime error
Runtime error
Commit
·
71308ea
1
Parent(s):
3b8bd42
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,10 @@ import os
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Get the API token from the environment variable
|
5 |
-
|
6 |
|
7 |
# Load the interface from the private Space
|
8 |
-
|
9 |
|
10 |
# Launch the application
|
11 |
-
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Get the API token from the environment variable
|
5 |
+
hf_token = os.environ.get("superdupersecretkey")
|
6 |
|
7 |
# Load the interface from the private Space
|
8 |
+
potatoEatingFootfungusFromTheBowelsOfTheUnderworldRuledByTheMadKingChauncey = gr.load(name="homegrownherbalist/chaunceybackend", src="spaces", hf_token=hf_token)
|
9 |
|
10 |
# Launch the application
|
11 |
+
potatoEatingFootfungusFromTheBowelsOfTheUnderworldRuledByTheMadKingChauncey.launch()
|