Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ if __name__ == "__main__":
|
|
42 |
API_KEY = os.getenv("DarkFantasyImageGeneratorApp")
|
43 |
|
44 |
# Check if the key is retrieved correctly
|
45 |
-
if not
|
46 |
raise st.error("API Key not found.")
|
47 |
|
48 |
# Initialize the InferenceClient
|
|
|
42 |
API_KEY = os.getenv("DarkFantasyImageGeneratorApp")
|
43 |
|
44 |
# Check if the key is retrieved correctly
|
45 |
+
if not API_KEY:
|
46 |
raise st.error("API Key not found.")
|
47 |
|
48 |
# Initialize the InferenceClient
|