Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -242,7 +242,7 @@ Follow this example structure:
|
|
242 |
}
|
243 |
|
244 |
model = genai.GenerativeModel(
|
245 |
-
model_name="gemini-1.5-flash",
|
246 |
generation_config=generation_config,
|
247 |
safety_settings={
|
248 |
HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
|
@@ -418,4 +418,4 @@ iface = gr.Interface(
|
|
418 |
)
|
419 |
|
420 |
if __name__ == "__main__":
|
421 |
-
iface.launch()
|
|
|
242 |
}
|
243 |
|
244 |
model = genai.GenerativeModel(
|
245 |
+
model_name="gemini-1.5-flash-002",
|
246 |
generation_config=generation_config,
|
247 |
safety_settings={
|
248 |
HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
|
|
|
418 |
)
|
419 |
|
420 |
if __name__ == "__main__":
|
421 |
+
iface.launch()
|