ogegadavis254 commited on
Commit
c9f2e48
1 Parent(s): b6d6706

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -55,6 +55,7 @@ def interact_with_huggingface_model(messages, model):
55
  # Function to interact with the Together API model
56
  def interact_with_together_api(messages):
57
  all_messages = []
 
58
 
59
  if not messages: # If history is empty
60
  all_messages.append({"role": "user", "content": ""})
 
55
  # Function to interact with the Together API model
56
  def interact_with_together_api(messages):
57
  all_messages = []
58
+ entire_assistant_response = "" # Initialize the variable
59
 
60
  if not messages: # If history is empty
61
  all_messages.append({"role": "user", "content": ""})