jenngang commited on
Commit
22cff3e
·
verified ·
1 Parent(s): d3262d1

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -575,13 +575,6 @@ class NutritionBot:
575
  # Initialize a memory client to store and retrieve customer interactions
576
  self.memory = MemoryClient(api_key=MEM0_api_key) # userdata.get("mem0")) # Complete the code to define the memory client API key
577
 
578
- # Initialize the OpenAI client using the provided credentials
579
- #self.client = ChatOpenAI(
580
- # model_name="gpt-4o", # Used gpt-4o to get improved results; Specify the model to use (e.g., GPT-4 optimized version)
581
- # #api_key=my_api_key, # API key for authentication
582
- # temperature=0 # Controls randomness in responses; 0 ensures deterministic results
583
- #)
584
-
585
  st.write(f"my_api_key:{my_api_key}")
586
  try:
587
  self.client = ChatOpenAI(
 
575
  # Initialize a memory client to store and retrieve customer interactions
576
  self.memory = MemoryClient(api_key=MEM0_api_key) # userdata.get("mem0")) # Complete the code to define the memory client API key
577
 
 
 
 
 
 
 
 
578
  st.write(f"my_api_key:{my_api_key}")
579
  try:
580
  self.client = ChatOpenAI(