Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
hf_token = os.getenv("HF_TOKEN")
|
6 |
|
7 |
# Load a private Hugging Face Space using the updated `token` parameter and `src='spaces'`
|
8 |
-
app = gr.load(name="segestic/
|
9 |
|
10 |
# Use the app
|
11 |
output = app("Input text")
|
|
|
5 |
hf_token = os.getenv("HF_TOKEN")
|
6 |
|
7 |
# Load a private Hugging Face Space using the updated `token` parameter and `src='spaces'`
|
8 |
+
app = gr.load(name="segestic/token-cost-calculator", src="spaces", token=hf_token)
|
9 |
|
10 |
# Use the app
|
11 |
output = app("Input text")
|