Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
st.title("Cinematic Text-to-Image Generation")
|
8 |
st.write("Enter text and generate cinematic photo. Optional tag is POV")
|
9 |
prompt = st.text_input("Enter prompt")
|
10 |
-
hf_token = os.environ.get("
|
11 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
12 |
API_URL = "https://api-inference.huggingface.co/models/TheLastBen/Filmic"
|
13 |
|
|
|
7 |
st.title("Cinematic Text-to-Image Generation")
|
8 |
st.write("Enter text and generate cinematic photo. Optional tag is POV")
|
9 |
prompt = st.text_input("Enter prompt")
|
10 |
+
hf_token = os.environ.get("api_token")
|
11 |
headers = {"Authorization": f"Bearer {hf_token}"}
|
12 |
API_URL = "https://api-inference.huggingface.co/models/TheLastBen/Filmic"
|
13 |
|