Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,11 +17,11 @@ import gradio as gr
|
|
17 |
import replicate
|
18 |
|
19 |
|
20 |
-
def generate_image(
|
21 |
output = replicate.run(
|
22 |
"dd-ds-ai/lora_test_01:70c669221124d8aaf0fc494f9553468bd069483a19e74b2753262008b1e8fbb2",
|
23 |
input={
|
24 |
-
"model":
|
25 |
"lora_scale": lora_scale,
|
26 |
"num_outputs": 1,
|
27 |
"aspect_ratio": "1:1",
|
|
|
17 |
import replicate
|
18 |
|
19 |
|
20 |
+
def generate_image(lora_scale, guidance_scale, prompt_strength, num_steps, prompt):
|
21 |
output = replicate.run(
|
22 |
"dd-ds-ai/lora_test_01:70c669221124d8aaf0fc494f9553468bd069483a19e74b2753262008b1e8fbb2",
|
23 |
input={
|
24 |
+
"model": "dev",
|
25 |
"lora_scale": lora_scale,
|
26 |
"num_outputs": 1,
|
27 |
"aspect_ratio": "1:1",
|