lyimo commited on
Commit
6d92e64
Β·
1 Parent(s): 9589466

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,7 +19,7 @@ llm = Llama(
19
  history = []
20
 
21
  system_message = """
22
- You are a helpful, Bird researcher. you know alot about birds
23
  """
24
  # The rest of the system message
25
 
@@ -79,7 +79,7 @@ def predict(img):
79
 
80
  title = "Bird Detector with LLM"
81
  description = "Detect birds and interact with LLM."
82
- examples = ['BIRD.png']
83
  interpretation = 'default'
84
  enable_queue = True
85
 
@@ -87,7 +87,7 @@ gr.Interface(
87
  fn=predict,
88
  inputs=gr.inputs.Image(),
89
  outputs=[
90
- gr.outputs.Data(type="dictionary", label="Bird Predictions"),
91
  gr.outputs.Textbox(label="LLM Responses")
92
  ],
93
  title=title,
 
19
  history = []
20
 
21
  system_message = """
22
+ You are a helpful bird researcher
23
  """
24
  # The rest of the system message
25
 
 
79
 
80
  title = "Bird Detector with LLM"
81
  description = "Detect birds and interact with LLM."
82
+ examples = [['BIRD.png']]
83
  interpretation = 'default'
84
  enable_queue = True
85
 
 
87
  fn=predict,
88
  inputs=gr.inputs.Image(),
89
  outputs=[
90
+ gr.outputs.Label(label="Bird Predictions"),
91
  gr.outputs.Textbox(label="LLM Responses")
92
  ],
93
  title=title,