Spaces:
Build error
Build error
Commit
·
39f951c
1
Parent(s):
a4e05f7
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ quantized_pipe.compile()
|
|
9 |
prompt = "cartoon bird"
|
10 |
|
11 |
def generate(image):
|
12 |
-
output =
|
13 |
return output.images[0]
|
14 |
|
15 |
gr.Interface(
|
|
|
9 |
prompt = "cartoon bird"
|
10 |
|
11 |
def generate(image):
|
12 |
+
output = quantized_pipe(prompt, num_inference_steps=50, output_type="pil")
|
13 |
return output.images[0]
|
14 |
|
15 |
gr.Interface(
|