marc-thibault-h commited on
Commit
c5293a7
·
verified ·
1 Parent(s): 9aa5a2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -365,7 +365,7 @@ def navigate(input_numpy_image: np.ndarray, task: str) -> str:
365
 
366
 
367
  # --- Load Example Data ---
368
- example_image_url = "https://huggingface.co/Hcompany/Holo1-7B/resolve/main/calendar_example.jpg" # TODO update
369
  example_image = Image.open(requests.get(example_image_url, stream=True).raw)
370
  example_task = "Book a hotel in Paris on August 3rd for 3 nights"
371
 
@@ -377,7 +377,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
377
  with gr.Row():
378
  with gr.Column():
379
  input_image_component = gr.Image(label="Input UI Image", height=400)
380
- # model_selector = gr.Dropdown(choices=list(models.keys()), label="Model", value="Qwen/Qwen2-VL-7B-Instruct") #TODO separate spaces for models?
381
  task_component = gr.Textbox(
382
  label="task",
383
  placeholder="e.g., Book a hotel in Paris on August 3rd for 3 nights",
 
365
 
366
 
367
  # --- Load Example Data ---
368
+ example_image_url = "https://huggingface.co/Hcompany/Holo1-7B/resolve/main/calendar_example.jpg"
369
  example_image = Image.open(requests.get(example_image_url, stream=True).raw)
370
  example_task = "Book a hotel in Paris on August 3rd for 3 nights"
371
 
 
377
  with gr.Row():
378
  with gr.Column():
379
  input_image_component = gr.Image(label="Input UI Image", height=400)
 
380
  task_component = gr.Textbox(
381
  label="task",
382
  placeholder="e.g., Book a hotel in Paris on August 3rd for 3 nights",