aifeifei798 commited on
Commit
0cf111f
·
verified ·
1 Parent(s): 320c744

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ with gr.Blocks() as demo:
52
  with gr.Tab(label="Image To Flux Prompt"):
53
  with gr.Row():
54
  with gr.Column():
55
- input_img = gr.Image(label="Input Picture",height=480,type="pil")
56
  submit_btn = gr.Button(value="Submit")
57
  with gr.Column():
58
  output_text = gr.Textbox(label="Flux Prompt")
 
52
  with gr.Tab(label="Image To Flux Prompt"):
53
  with gr.Row():
54
  with gr.Column():
55
+ input_img = gr.Image(label="Input Picture",height=480,type="filepath")
56
  submit_btn = gr.Button(value="Submit")
57
  with gr.Column():
58
  output_text = gr.Textbox(label="Flux Prompt")