alexkueck commited on
Commit
2bf8606
1 Parent(s): 41e28a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -571,7 +571,7 @@ def generate_code_antwort (prompt, chatbot, history, model_option, openai_api_ke
571
  #Prompt an history anhängen und einen Text daraus machen
572
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
573
  else:
574
- llm = ChatOpenAI(model_name = MODEL_NAME_IMAGE, openai_api_key = openai_api_key, temperature=temperature)#, top_p = top_p)
575
  #Prompt an history anhängen und einen Text daraus machen
576
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
577
 
 
571
  #Prompt an history anhängen und einen Text daraus machen
572
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
573
  else:
574
+ llm = ChatOpenAI(model_name = MODEL_NAME_IMAGE, openai_api_key = openai_api_key, temperature=temperature)#, top_p = top_p)
575
  #Prompt an history anhängen und einen Text daraus machen
576
  history_text_und_prompt = generate_prompt_with_history_openai(prompt, history)
577