SmilingWolf commited on
Commit
59869a7
·
verified ·
1 Parent(s): 05e8d01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ if __name__ == "__main__":
134
  with gr.Blocks() as demo:
135
  with gr.Row():
136
  with gr.Column():
137
- img_input = gr.Image(type="pil", label="Image input")
138
  str_input = gr.Textbox(label="Text input (leave empty to use image input)")
139
  with gr.Column():
140
  with gr.Row():
 
134
  with gr.Blocks() as demo:
135
  with gr.Row():
136
  with gr.Column():
137
+ img_input = gr.Image(type="pil", image_mode="RGBA", label="Image input")
138
  str_input = gr.Textbox(label="Text input (leave empty to use image input)")
139
  with gr.Column():
140
  with gr.Row():