carlotamdeluna commited on
Commit
624b06a
1 Parent(s): 8fabe0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ K = st.sidebar.number_input(' (#)Summary of prompts to consider', min_value=3, m
72
  st.title("Personalized chatbot")
73
 
74
  # Create prompt ( elige entre template_mario, template_poet, template_helper, template_chef, template_gym...)
75
- prompt = PromptTemplate.from_template(os.environ("template_chef")
76
 
77
  #Cambia la referencia a esta variable en llm_chain SOLO si vas a usar la memoria
78
  prompt_memory = ENTITY_MEMORY_CONVERSATION_TEMPLATE
 
72
  st.title("Personalized chatbot")
73
 
74
  # Create prompt ( elige entre template_mario, template_poet, template_helper, template_chef, template_gym...)
75
+ prompt = PromptTemplate.from_template(os.environ["template_chef"])
76
 
77
  #Cambia la referencia a esta variable en llm_chain SOLO si vas a usar la memoria
78
  prompt_memory = ENTITY_MEMORY_CONVERSATION_TEMPLATE