derektan commited on
Commit
0837d3f
·
1 Parent(s): 182d7df

Removed all image input buttons except upload button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -370,7 +370,7 @@ with gr.Blocks() as demo:
370
  # Input and output columns side-by-side
371
  with gr.Row():
372
  with gr.Column(): # Left column – inputs
373
- inp_image = gr.Image(type="filepath", label="Input Image")
374
  inp_text = gr.Textbox(lines=1, placeholder=None, label="Text Instruction")
375
  run_btn = gr.Button("Run", variant="primary")
376
  with gr.Column(): # Right column – outputs
 
370
  # Input and output columns side-by-side
371
  with gr.Row():
372
  with gr.Column(): # Left column – inputs
373
+ inp_image = gr.Image(type="filepath", label="Input Image",sources=["upload"])
374
  inp_text = gr.Textbox(lines=1, placeholder=None, label="Text Instruction")
375
  run_btn = gr.Button("Run", variant="primary")
376
  with gr.Column(): # Right column – outputs