tamaraDD commited on
Commit
3ca4d00
·
verified ·
1 Parent(s): 99d2999

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,11 +17,11 @@ import gradio as gr
17
  import replicate
18
 
19
 
20
- def generate_image(model, 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": 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",