bcvilnrotter commited on
Commit
12a1043
·
verified ·
1 Parent(s): 6184f53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -11,9 +11,11 @@ def main():
11
  gr.Textbox(label='Huggingface Model Name',placeholder='llava-hf/llava-1.5-7b-hf'),
12
  gr.Textbox(label="Image URL",placeholder="https://cumberland.isis.vanderbilt.edu/stefan/rvlcdip/test_advertisement_127238fe-8352-49ed-8c5f-11488a154dd2.jpg")
13
  ],
14
- outputs=gr.Image(label="Image with ID bounding box"),
15
- title="Huggingface LLM for ID Number Detection"
16
- )
 
 
17
 
18
  demo.launch()
19
 
 
11
  gr.Textbox(label='Huggingface Model Name',placeholder='llava-hf/llava-1.5-7b-hf'),
12
  gr.Textbox(label="Image URL",placeholder="https://cumberland.isis.vanderbilt.edu/stefan/rvlcdip/test_advertisement_127238fe-8352-49ed-8c5f-11488a154dd2.jpg")
13
  ],
14
+ outputs=[
15
+ gr.Image(label="Image with ID bounding box"),
16
+ gr.Textbox(label="Text Response")
17
+ ],
18
+ title="Huggingface LLM for ID Number Detection")
19
 
20
  demo.launch()
21