Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ from deep_translator import GoogleTranslator
|
|
9 |
import json
|
10 |
|
11 |
# Project by Nymbo
|
12 |
-
API_URL="https://huggingface.co/spaces/multimodalart/FLUX.1-merged"
|
|
|
13 |
#API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
14 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
15 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
|
|
9 |
import json
|
10 |
|
11 |
# Project by Nymbo
|
12 |
+
#API_URL="https://huggingface.co/spaces/multimodalart/FLUX.1-merged"
|
13 |
+
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
14 |
#API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
15 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
16 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|