Spaces:
Runtime error
Runtime error
Disable prompt editing
Browse files
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)
|