Spaces:
Sleeping
Sleeping
George Sergia
commited on
Commit
·
de17a0a
1
Parent(s):
1a7adb6
Remove testing
Browse files
app.py
CHANGED
|
@@ -24,18 +24,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 24 |
|
| 25 |
load_dotenv()
|
| 26 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 27 |
-
if HF_TOKEN is not None:
|
| 28 |
-
print(str(hash(HF_TOKEN)))
|
| 29 |
|
| 30 |
-
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 31 |
-
if HF_TOKEN is not None:
|
| 32 |
-
print(str(hash(HF_TOKEN)))
|
| 33 |
-
|
| 34 |
-
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 35 |
-
if HF_TOKEN is not None:
|
| 36 |
-
print(str(hash(HF_TOKEN)))
|
| 37 |
-
|
| 38 |
-
return "Please Login to Hugging Face with the button.", None
|
| 39 |
# --- Determine HF Space Runtime URL and Repo URL ---
|
| 40 |
space_id = os.getenv("SPACE_ID") # Get the SPACE_ID for sending link to the code
|
| 41 |
|
|
|
|
| 24 |
|
| 25 |
load_dotenv()
|
| 26 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
|
|
|
|
|
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
# --- Determine HF Space Runtime URL and Repo URL ---
|
| 29 |
space_id = os.getenv("SPACE_ID") # Get the SPACE_ID for sending link to the code
|
| 30 |
|