qwmqza commited on
Commit
3c9b22c
·
1 Parent(s): c192db9
Files changed (2) hide show
  1. __pycache__/app.cpython-310.pyc +0 -0
  2. app.py +2 -15
__pycache__/app.cpython-310.pyc CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
 
app.py CHANGED
@@ -7,8 +7,8 @@ def inference(my_prompt, my_image):
7
 
8
  with gr.Blocks(css=".custom-title { text-align: center; font-size: 2rem; font-weight: bold; margin-bottom: 20px; }") as demo:
9
  with gr.Row():
10
- gr.Markdown("<div class='custom-title'>VLC Demo Local Test</div>")
11
-
12
  with gr.Row():
13
  with gr.Column(scale=1):
14
  prompt = gr.Textbox(label="Your Prompt", placeholder="Type your description or question...", lines=3)
@@ -21,16 +21,3 @@ with gr.Blocks(css=".custom-title { text-align: center; font-size: 2rem; font-we
21
 
22
  demo.launch()
23
 
24
- # with gr.Blocks() as demo:
25
- # gr.Markdown("<center><h1>VLC Demo Local Test</h1><center>")
26
- # prompt = gr.Textbox()
27
- # image = gr.Image("/mnt/disk1/zian/LLaVA/my_test_image/blur_image1.jpg", type='filepath')
28
- # run_btn = gr.Button(variant="primary")
29
- # vlc_output = gr.Markdown("VLC response: ")
30
- # vlc_image = gr.Markdown("VLC response: ")
31
-
32
- # run_btn.click(
33
- # fn=inference,
34
- # inputs=[prompt,image],
35
- # outputs = [vlc_output]
36
- # )
 
7
 
8
  with gr.Blocks(css=".custom-title { text-align: center; font-size: 2rem; font-weight: bold; margin-bottom: 20px; }") as demo:
9
  with gr.Row():
10
+ gr.Markdown("<div class='custom-title'>VLC Demo</div>")
11
+ gr.Markdown("This is the official demo of the latest version of 'Vision-Language-Camera: Aligning User Intent and Camera Expertise through Vision-Language Models'")
12
  with gr.Row():
13
  with gr.Column(scale=1):
14
  prompt = gr.Textbox(label="Your Prompt", placeholder="Type your description or question...", lines=3)
 
21
 
22
  demo.launch()
23