Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -247,7 +247,7 @@ def SelectLanguage(option):
|
|
| 247 |
language_option = ["中文","英文"]
|
| 248 |
|
| 249 |
def react(input,image_information):
|
| 250 |
-
tools = [TavilySearchResults(max_result=1),
|
| 251 |
if selected_language == "en":
|
| 252 |
origin_prompt = ChatPromptTemplate.from_template(template_en)
|
| 253 |
prompt = ChatPromptTemplate.from_template(en_prompt)
|
|
|
|
| 247 |
language_option = ["中文","英文"]
|
| 248 |
|
| 249 |
def react(input,image_information):
|
| 250 |
+
tools = [TavilySearchResults(max_result=1), search_image]
|
| 251 |
if selected_language == "en":
|
| 252 |
origin_prompt = ChatPromptTemplate.from_template(template_en)
|
| 253 |
prompt = ChatPromptTemplate.from_template(en_prompt)
|