Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
eb6e88a
1
Parent(s):
34dc95a
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,9 @@ from huggingface_hub import whoami
|
|
9 |
webhook_server = os.getenv('webhook_server')
|
10 |
API_TOKEN = os.getenv('ZeroGPU')
|
11 |
BASE_URL = os.getenv('SpaceURL')
|
|
|
12 |
# Get user information
|
13 |
-
|
14 |
|
15 |
# Set your token
|
16 |
login(token=API_TOKEN, add_to_git_credential=True)
|
|
|
9 |
webhook_server = os.getenv('webhook_server')
|
10 |
API_TOKEN = os.getenv('ZeroGPU')
|
11 |
BASE_URL = os.getenv('SpaceURL')
|
12 |
+
|
13 |
# Get user information
|
14 |
+
#ser_info = whoami(token=API_TOKEN)
|
15 |
|
16 |
# Set your token
|
17 |
login(token=API_TOKEN, add_to_git_credential=True)
|