mrm8488 commited on
Commit
aeceb12
1 Parent(s): 7378b29

Disable prompt editing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ examples = [
40
  ]
41
  io = gr.Interface(fn=predict,
42
  inputs=[
43
- gr.Textbox(label="Prompt", value="Describe the following image:"),
44
  gr.Textbox(label="image URL", placeholder="Insert the URL of the image to be described"),
45
  gr.Image(label="or upload an image", type="pil"),
46
  gr.Slider(label="Max tokens", value=64, max=128, min=16, step=8)
 
40
  ]
41
  io = gr.Interface(fn=predict,
42
  inputs=[
43
+ gr.Textbox(label="Prompt", value="Describe the following image:", interactive=False),
44
  gr.Textbox(label="image URL", placeholder="Insert the URL of the image to be described"),
45
  gr.Image(label="or upload an image", type="pil"),
46
  gr.Slider(label="Max tokens", value=64, max=128, min=16, step=8)