Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,10 @@ def describe_plant_image(user_query: str, image_url: str) -> str:
|
|
| 21 |
Describe a plant image and answer the user's query.
|
| 22 |
Only to be used if and only if a user provides an image_url or if
|
| 23 |
prior chat messages have retrieved image_url(s).
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"""
|
| 25 |
system_prompt = (
|
| 26 |
"You are an LLM assistant that analyzes plant images and:\n"
|
|
|
|
| 21 |
Describe a plant image and answer the user's query.
|
| 22 |
Only to be used if and only if a user provides an image_url or if
|
| 23 |
prior chat messages have retrieved image_url(s).
|
| 24 |
+
|
| 25 |
+
Args:
|
| 26 |
+
user_query: Any relevant text pertaining to the image_url that has been based off the chat
|
| 27 |
+
image_url: The image url that has been provided by the user
|
| 28 |
"""
|
| 29 |
system_prompt = (
|
| 30 |
"You are an LLM assistant that analyzes plant images and:\n"
|