Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
from typing import Optional, List
|
5 |
from huggingface_hub import whoami
|
6 |
|
7 |
-
|
8 |
fal_client.api_key = FAL_KEY
|
9 |
|
10 |
def verify_pro_status(token: Optional[gr.OAuthToken]) -> bool:
|
|
|
4 |
from typing import Optional, List
|
5 |
from huggingface_hub import whoami
|
6 |
|
7 |
+
FAL_KEY = os.getenv("FAL_KEY", "")
|
8 |
fal_client.api_key = FAL_KEY
|
9 |
|
10 |
def verify_pro_status(token: Optional[gr.OAuthToken]) -> bool:
|