Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ llm = Llama(
|
|
| 19 |
history = []
|
| 20 |
|
| 21 |
system_message = """
|
| 22 |
-
You are a helpful
|
| 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.
|
| 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,
|