Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -57,11 +57,11 @@ load_dotenv()
|
|
57 |
|
58 |
# Access the secret
|
59 |
huggingface_api_key = os.getenv("HF_ACCESS_TOKEN")
|
|
|
60 |
|
61 |
print(f"Your API Key is: {huggingface_api_key}")
|
62 |
|
63 |
-
|
64 |
-
... use_auth_token=huggingface_api_key
|
65 |
# Configure more application defaults in config.json5
|
66 |
|
67 |
# Gradio seems to truncate files without keeping the extension, so we need to truncate the file prefix ourself
|
|
|
57 |
|
58 |
# Access the secret
|
59 |
huggingface_api_key = os.getenv("HF_ACCESS_TOKEN")
|
60 |
+
auth_token = os.getenv("HF_ACCESS_TOKEN")
|
61 |
|
62 |
print(f"Your API Key is: {huggingface_api_key}")
|
63 |
|
64 |
+
|
|
|
65 |
# Configure more application defaults in config.json5
|
66 |
|
67 |
# Gradio seems to truncate files without keeping the extension, so we need to truncate the file prefix ourself
|