Spaces:
Runtime error
Runtime error
Mediocreatmybest
commited on
Commit
·
82ffef0
1
Parent(s):
02448aa
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def launch(model_choice, image_input, url_inputs, load_in_8bit, device):
|
|
52 |
|
53 |
model_dropdown = gr.Dropdown(choices=list(CAPTION_MODELS.keys()), label='Select Caption Model')
|
54 |
image_input = gr.Image(type="pil", label="Input Image", multiple=True) # Enable multiple inputs
|
55 |
-
url_inputs = gr.Textbox(label="Input URLs")
|
56 |
load_in_8bit = gr.Checkbox(label="Load model in 8bit")
|
57 |
device = gr.Radio(['cpu', 'cuda'], label='Select device', default='cpu')
|
58 |
|
|
|
52 |
|
53 |
model_dropdown = gr.Dropdown(choices=list(CAPTION_MODELS.keys()), label='Select Caption Model')
|
54 |
image_input = gr.Image(type="pil", label="Input Image", multiple=True) # Enable multiple inputs
|
55 |
+
url_inputs = gr.Textbox(label="Input URLs", description="Enter URLs in a list format, e.g., ['url1', 'url2', 'url3']")
|
56 |
load_in_8bit = gr.Checkbox(label="Load model in 8bit")
|
57 |
device = gr.Radio(['cpu', 'cuda'], label='Select device', default='cpu')
|
58 |
|