Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
|
4 |
# save your HF API token from https:/hf.co/settings/tokens as an env variable to avoid rate limiting
|
5 |
auth_token = os.getenv("auth_token")
|
6 |
-
|
7 |
# automatically load the interface from a HF model
|
8 |
# you can remove the api_key parameter if you don't care about rate limiting.
|
9 |
demo = gr.load(
|
@@ -14,4 +14,4 @@ demo = gr.load(
|
|
14 |
hf_token=auth_token
|
15 |
)
|
16 |
|
17 |
-
demo.launch(
|
|
|
3 |
|
4 |
# save your HF API token from https:/hf.co/settings/tokens as an env variable to avoid rate limiting
|
5 |
auth_token = os.getenv("auth_token")
|
6 |
+
gr.api_name="MyNameApiVamooo"
|
7 |
# automatically load the interface from a HF model
|
8 |
# you can remove the api_key parameter if you don't care about rate limiting.
|
9 |
demo = gr.load(
|
|
|
14 |
hf_token=auth_token
|
15 |
)
|
16 |
|
17 |
+
demo.launch()
|