Update app.py
Browse files
app.py
CHANGED
|
@@ -64,8 +64,8 @@ with gr.Blocks() as demo:
|
|
| 64 |
with gr.Tab("πͺ Manipulate Uploaded Image"):
|
| 65 |
token2 = gr.Textbox(label="π Hugging Face Token", type="password")
|
| 66 |
prompt2 = gr.Textbox(label="Edit Prompt (e.g., 'remove the background')")
|
| 67 |
-
img_input = gr.Image(label="Upload Image", type="pil"
|
| 68 |
-
mask_input = gr.Image(label="Draw Mask", type="pil"
|
| 69 |
status2 = gr.Textbox(label="Status")
|
| 70 |
edited_img = gr.Image(label="Edited Image")
|
| 71 |
edit_btn = gr.Button("Apply Edit")
|
|
|
|
| 64 |
with gr.Tab("πͺ Manipulate Uploaded Image"):
|
| 65 |
token2 = gr.Textbox(label="π Hugging Face Token", type="password")
|
| 66 |
prompt2 = gr.Textbox(label="Edit Prompt (e.g., 'remove the background')")
|
| 67 |
+
img_input = gr.Image(label="Upload Image", type="pil") # β tool removed
|
| 68 |
+
mask_input = gr.Image(label="Draw Mask", type="pil") # β tool removed
|
| 69 |
status2 = gr.Textbox(label="Status")
|
| 70 |
edited_img = gr.Image(label="Edited Image")
|
| 71 |
edit_btn = gr.Button("Apply Edit")
|