mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Set default openai text to image model correctly during initialization
Speech to text model was previously being set to the text to image model previously!
This commit is contained in:
parent
077b88bafa
commit
020167c7cf
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def initialization():
|
|||
openai_text_to_image_model = input(
|
||||
f"Enter the OpenAI text to image model you want to use (default: {default_text_to_image_model}): "
|
||||
)
|
||||
openai_speech2text_model = openai_text_to_image_model or default_text_to_image_model
|
||||
openai_text_to_image_model = openai_text_to_image_model or default_text_to_image_model
|
||||
TextToImageModelConfig.objects.create(
|
||||
model_name=openai_text_to_image_model, model_type=TextToImageModelConfig.ModelType.OPENAI
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue