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