Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,16 +10,14 @@ from deep_translator import GoogleTranslator
|
|
10 |
import json
|
11 |
from random import randint
|
12 |
|
|
|
13 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
14 |
|
15 |
mod_list = {
|
16 |
"Default": API_URL,
|
17 |
"Face Realism": "https://api-inference.huggingface.co/models/prithivMLmods/Canopus-LoRA-Flux-FaceRealism",
|
18 |
"Midjourney": "https://api-inference.huggingface.co/models/Jovie/Midjourney_Schnell",
|
19 |
-
"
|
20 |
-
"Boreal": "NeurixYUFI/schnell-boreal",
|
21 |
-
"Realism Lora": "lichorosario/flux-RealismLora"
|
22 |
-
|
23 |
}
|
24 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
25 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
|
|
10 |
import json
|
11 |
from random import randint
|
12 |
|
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-schnell"
|
15 |
|
16 |
mod_list = {
|
17 |
"Default": API_URL,
|
18 |
"Face Realism": "https://api-inference.huggingface.co/models/prithivMLmods/Canopus-LoRA-Flux-FaceRealism",
|
19 |
"Midjourney": "https://api-inference.huggingface.co/models/Jovie/Midjourney_Schnell",
|
20 |
+
"dev": "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
|
|
|
|
|
|
21 |
}
|
22 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
23 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|