selamw commited on
Commit
c7a1f91
·
verified ·
1 Parent(s): 06142e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -7,7 +7,8 @@ import os
7
 
8
  access_token = os.getenv('HF_token')
9
 
10
- model_id = "selamw/BirdWatcher-AI"
 
11
 
12
  bnb_config = BitsAndBytesConfig(load_in_8bit=True)
13
 
@@ -88,9 +89,10 @@ with gr.Blocks(css=css) as demo:
88
  submit_btn.click(infer_fin_pali, [input_img, question], [output])
89
 
90
  gr.Examples(
91
- [["020.jpg", "Describe this bird"],
92
- ["5.jpg", "Describe this bird"],
93
- ["1.jpg", "Describe this bird"]],
 
94
  inputs=[input_img, question],
95
  outputs=[output],
96
  fn=infer_fin_pali,
 
7
 
8
  access_token = os.getenv('HF_token')
9
 
10
+ # model_id = "selamw/BirdWatcher-AI"
11
+ model_id = "selamw/bird-Identifier"
12
 
13
  bnb_config = BitsAndBytesConfig(load_in_8bit=True)
14
 
 
89
  submit_btn.click(infer_fin_pali, [input_img, question], [output])
90
 
91
  gr.Examples(
92
+ [["01.jpg", "Describe this bird"],
93
+ ["02.jpg", "Describe this bird"],
94
+ ["03.jpg", "Describe this bird"]],
95
+ ["04.jpeg", "Describe this bird"]],
96
  inputs=[input_img, question],
97
  outputs=[output],
98
  fn=infer_fin_pali,