Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -161,9 +161,6 @@ def process_image(
|
|
161 |
output = pipeline(
|
162 |
t_max=0.6666,
|
163 |
t_min=0.0,
|
164 |
-
tile_diffusion=False,
|
165 |
-
tile_diffusion_size=512,
|
166 |
-
tile_diffusion_stride=256,
|
167 |
added_prompt=prompt,
|
168 |
image=input_pil,
|
169 |
num_inference_steps=num_inference_steps,
|
@@ -195,6 +192,7 @@ def process_image(
|
|
195 |
print(f"Error processing image: {str(e)}")
|
196 |
return None
|
197 |
|
|
|
198 |
# Create Gradio interface
|
199 |
iface = gr.Interface(
|
200 |
fn=process_image,
|
|
|
161 |
output = pipeline(
|
162 |
t_max=0.6666,
|
163 |
t_min=0.0,
|
|
|
|
|
|
|
164 |
added_prompt=prompt,
|
165 |
image=input_pil,
|
166 |
num_inference_steps=num_inference_steps,
|
|
|
192 |
print(f"Error processing image: {str(e)}")
|
193 |
return None
|
194 |
|
195 |
+
|
196 |
# Create Gradio interface
|
197 |
iface = gr.Interface(
|
198 |
fn=process_image,
|