Spaces:
Runtime error
Runtime error
updated app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ iface = gr.Interface(
|
|
| 23 |
fn=remove_filter,
|
| 24 |
inputs=[
|
| 25 |
gr.Image(type="pil"), # Image input
|
| 26 |
-
gr.Textbox(label="Custom Prompt", placeholder="Enter a custom prompt",
|
| 27 |
],
|
| 28 |
outputs=gr.Image(type="pil"),
|
| 29 |
title="Filter Removal using ControlNet",
|
|
|
|
| 23 |
fn=remove_filter,
|
| 24 |
inputs=[
|
| 25 |
gr.Image(type="pil"), # Image input
|
| 26 |
+
gr.Textbox(label="Custom Prompt", placeholder="Enter a custom prompt", value="restore the original colors and details, remove the filter") # Textbox for the prompt
|
| 27 |
],
|
| 28 |
outputs=gr.Image(type="pil"),
|
| 29 |
title="Filter Removal using ControlNet",
|