Spaces:
Running
Running
ameerazam08
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def bot(
|
|
77 |
response.resolve()
|
78 |
else:
|
79 |
image_prompt = preprocess_image(image_prompt)
|
80 |
-
model = genai.GenerativeModel(
|
81 |
response = model.generate_content(
|
82 |
contents=[text_prompt, image_prompt],
|
83 |
stream=True,
|
|
|
77 |
response.resolve()
|
78 |
else:
|
79 |
image_prompt = preprocess_image(image_prompt)
|
80 |
+
model = genai.GenerativeModel(model_name)
|
81 |
response = model.generate_content(
|
82 |
contents=[text_prompt, image_prompt],
|
83 |
stream=True,
|