Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import replicate
|
|
10 |
|
11 |
# Project by Nymbo
|
12 |
|
13 |
-
# API_URL = "https://api-inference.huggingface.co/models/
|
14 |
# API_TOKEN = os.getenv("HF_READ_TOKEN")
|
15 |
# headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
16 |
# timeout = 100
|
@@ -22,7 +22,7 @@ def query(prompt, aspect_ratio="1:1", steps=28, cfg_scale=3.5, seed=-1, strength
|
|
22 |
|
23 |
input = {
|
24 |
"prompt": prompt,
|
25 |
-
"hf_lora": "
|
26 |
"output_format": "jpg",
|
27 |
"aspect_ratio": aspect_ratio,
|
28 |
"num_inference_steps": steps,
|
|
|
10 |
|
11 |
# Project by Nymbo
|
12 |
|
13 |
+
# API_URL = "https://api-inference.huggingface.co/models/codermert/mert2_flux"
|
14 |
# API_TOKEN = os.getenv("HF_READ_TOKEN")
|
15 |
# headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
16 |
# timeout = 100
|
|
|
22 |
|
23 |
input = {
|
24 |
"prompt": prompt,
|
25 |
+
"hf_lora": "codermert/mert2_flux",
|
26 |
"output_format": "jpg",
|
27 |
"aspect_ratio": aspect_ratio,
|
28 |
"num_inference_steps": steps,
|