Spaces:

WideMax commited on
Commit
f8f5690
1 Parent(s): 0bd6138
Files changed (1) hide show
  1. app.py +2 -1
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",