Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ genai.configure(api_key=gemini_api_key)
|
|
10 |
def ImageChat(image, prompt):
|
11 |
|
12 |
# load model
|
13 |
-
model = genai.GenerativeModel("gemini-
|
14 |
|
15 |
# check image file and convert to a Numpy array
|
16 |
if isinstance(image, np.ndarray):
|
|
|
10 |
def ImageChat(image, prompt):
|
11 |
|
12 |
# load model
|
13 |
+
model = genai.GenerativeModel("gemini-2.0-flash")
|
14 |
|
15 |
# check image file and convert to a Numpy array
|
16 |
if isinstance(image, np.ndarray):
|