Upload gradio_web_server.py
Browse files- gradio_web_server.py +1 -1
gradio_web_server.py
CHANGED
@@ -362,7 +362,7 @@ def batch_process_images(folder_path, textbox, model_selector, temperature, top_
|
|
362 |
return "Batch processing completed."
|
363 |
|
364 |
def build_demo(embed_mode, cur_dir=None, concurrency_count=10):
|
365 |
-
textbox = gr.Textbox(show_label=False, placeholder="Enter text and press ENTER", container=False)
|
366 |
folder_input = gr.Textbox(label="Enter Folder Path for Batch Processing")
|
367 |
batch_btn = gr.Button("Batch Process")
|
368 |
with gr.Blocks(title="LLaVA", theme=gr.themes.Default(), css=block_css) as demo:
|
|
|
362 |
return "Batch processing completed."
|
363 |
|
364 |
def build_demo(embed_mode, cur_dir=None, concurrency_count=10):
|
365 |
+
textbox = gr.Textbox(show_label=False, value="just caption the image with details, colors, items, objects, emotions, art style, drawing style and objects but do not add any description or comment. do not miss any item in the given image", placeholder="Enter text and press ENTER", container=False)
|
366 |
folder_input = gr.Textbox(label="Enter Folder Path for Batch Processing")
|
367 |
batch_btn = gr.Button("Batch Process")
|
368 |
with gr.Blocks(title="LLaVA", theme=gr.themes.Default(), css=block_css) as demo:
|