Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import time
|
|
4 |
import streamlit as st
|
5 |
|
6 |
# Get the Hugging Face API Token from environment variables
|
7 |
-
HF_API_TOKEN = os.getenv("
|
8 |
if not HF_API_TOKEN:
|
9 |
raise ValueError("Hugging Face API Token is not set in the environment variables.")
|
10 |
|
|
|
4 |
import streamlit as st
|
5 |
|
6 |
# Get the Hugging Face API Token from environment variables
|
7 |
+
HF_API_TOKEN = os.getenv("HF_API_KEY")
|
8 |
if not HF_API_TOKEN:
|
9 |
raise ValueError("Hugging Face API Token is not set in the environment variables.")
|
10 |
|