Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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 |
|