wjm55 commited on
Commit
d956744
·
1 Parent(s): 8858188

updated image

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -42,7 +42,7 @@ processors = {
42
  "Qwen/Qwen2-VL-7B-Instruct": AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct", trust_remote_code=True)
43
  }
44
 
45
- DESCRIPTION = "This demo uses Qwen2-VL-7B-Instruct(https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct)"
46
 
47
  kwargs = {}
48
  kwargs['torch_dtype'] = torch.bfloat16
@@ -108,9 +108,9 @@ css = """
108
  """
109
 
110
  with gr.Blocks(css=css) as demo:
111
- gr.Markdown("![Caracal](Caracal.jpg)")
112
  gr.Markdown(DESCRIPTION)
113
- with gr.Tab(label="Qwen2-VL-7B Input"):
114
  with gr.Row():
115
  with gr.Column():
116
  input_img = gr.Image(label="Input Picture")
 
42
  "Qwen/Qwen2-VL-7B-Instruct": AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct", trust_remote_code=True)
43
  }
44
 
45
+ DESCRIPTION = "This demo uses[Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct)"
46
 
47
  kwargs = {}
48
  kwargs['torch_dtype'] = torch.bfloat16
 
108
  """
109
 
110
  with gr.Blocks(css=css) as demo:
111
+ gr.Image("Caracal.jpg")
112
  gr.Markdown(DESCRIPTION)
113
+ with gr.Tab(label="Image Input"):
114
  with gr.Row():
115
  with gr.Column():
116
  input_img = gr.Image(label="Input Picture")