arajshiva commited on
Commit
9bdbdcf
·
verified ·
1 Parent(s): 67b9699

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -610,7 +610,10 @@ class NutritionBot:
610
 
611
  # Initialize a memory client to store and retrieve customer interactions
612
  #self.memory = MemoryClient(api_key=userdata.get("mem0")) # Complete the code to define the memory client API key
613
- self.memory = MemoryClient(api_key = userdata.get("mem0"))
 
 
 
614
 
615
  # Initialize the Azure OpenAI client using the provided credentials
616
  self.client = AzureChatOpenAI(
 
610
 
611
  # Initialize a memory client to store and retrieve customer interactions
612
  #self.memory = MemoryClient(api_key=userdata.get("mem0")) # Complete the code to define the memory client API key
613
+ self.memory = MemoryClient(api_key = os.environ["mem0"]) # Complete the code to define the memory client API key
614
+
615
+
616
+ client = AsyncMemoryClient()
617
 
618
  # Initialize the Azure OpenAI client using the provided credentials
619
  self.client = AzureChatOpenAI(