Spaces:
Sleeping
Sleeping
Change model to gemini flash
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ bird_cnn = keras.models.load_model('bird_model.h5')
|
|
| 17 |
with open('class_names.json', 'r') as class_name:
|
| 18 |
class_names = json.load(class_name)
|
| 19 |
|
| 20 |
-
llm = ChatGoogleGenerativeAI(model="gemini-1.5-
|
| 21 |
|
| 22 |
|
| 23 |
def get_info(language, img):
|
|
|
|
| 17 |
with open('class_names.json', 'r') as class_name:
|
| 18 |
class_names = json.load(class_name)
|
| 19 |
|
| 20 |
+
llm = ChatGoogleGenerativeAI(model="gemini-1.5-flash-latest", convert_system_message_to_human=True)
|
| 21 |
|
| 22 |
|
| 23 |
def get_info(language, img):
|