Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -392,7 +392,7 @@ def create_demo():
|
|
| 392 |
output_bg = gr.Image(type="numpy", label="ParapΓ«rpunimi i Planit tΓ« ParΓ«", visible=False) # Hidden output
|
| 393 |
|
| 394 |
# Bind the relight button
|
| 395 |
-
ips = [input_fg, prompt,
|
| 396 |
relight_button.click(fn=process_relight, inputs=ips, outputs=[output_bg, result_gallery])
|
| 397 |
|
| 398 |
return block
|
|
|
|
| 392 |
output_bg = gr.Image(type="numpy", label="ParapΓ«rpunimi i Planit tΓ« ParΓ«", visible=False) # Hidden output
|
| 393 |
|
| 394 |
# Bind the relight button
|
| 395 |
+
ips = [input_fg, prompt, 640, 640, 1, 12345, 50, 'best quality', 'lowres, bad anatomy, bad hands, cropped, worst quality', 2, 2, 0.5, 0.9, bg_source]
|
| 396 |
relight_button.click(fn=process_relight, inputs=ips, outputs=[output_bg, result_gallery])
|
| 397 |
|
| 398 |
return block
|