rgb fix
Browse files
app.py
CHANGED
|
@@ -67,7 +67,8 @@ def get_demo():
|
|
| 67 |
with gr.Column():
|
| 68 |
with gr.Row():
|
| 69 |
image = gr.ImageEditor(label="Image that you want to edit", type="pil", layers=False,
|
| 70 |
-
interactive=True, crop_size="1:1", eraser=False, brush=False
|
|
|
|
| 71 |
with gr.Row():
|
| 72 |
source_prompt = gr.Textbox(label="Init Prompt", info="Describs the content on the original image.")
|
| 73 |
target_prompt = gr.Textbox(label="Edit Prompt",
|
|
|
|
| 67 |
with gr.Column():
|
| 68 |
with gr.Row():
|
| 69 |
image = gr.ImageEditor(label="Image that you want to edit", type="pil", layers=False,
|
| 70 |
+
interactive=True, crop_size="1:1", eraser=False, brush=False,
|
| 71 |
+
image_mode='RGB')
|
| 72 |
with gr.Row():
|
| 73 |
source_prompt = gr.Textbox(label="Init Prompt", info="Describs the content on the original image.")
|
| 74 |
target_prompt = gr.Textbox(label="Edit Prompt",
|