Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def generate_image_response(input_text, image, openai_api_key, model_choice):
|
|
| 72 |
]
|
| 73 |
}
|
| 74 |
],
|
| 75 |
-
|
| 76 |
)
|
| 77 |
return response.choices[0].message.content
|
| 78 |
except Exception as e:
|
|
|
|
| 72 |
]
|
| 73 |
}
|
| 74 |
],
|
| 75 |
+
max_completion_tokens=2000
|
| 76 |
)
|
| 77 |
return response.choices[0].message.content
|
| 78 |
except Exception as e:
|