Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,9 @@ def inference(prompt):
|
|
14 |
seed: int = 0
|
15 |
guidance_scale: float = 15.0
|
16 |
num_inference_steps: int = 64
|
|
|
17 |
|
18 |
-
return
|
19 |
|
20 |
demo = gr.Interface(
|
21 |
fn=inference,
|
|
|
14 |
seed: int = 0
|
15 |
guidance_scale: float = 15.0
|
16 |
num_inference_steps: int = 64
|
17 |
+
model.run_text(prompt, seed, guidance_scale, num_inference_steps)
|
18 |
|
19 |
+
return prompt
|
20 |
|
21 |
demo = gr.Interface(
|
22 |
fn=inference,
|