Koshti10 commited on
Commit
968247b
1 Parent(s): 192dc63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def respond(message, chat_history):
26
  output = chain.get_response(query=question, k=100, model_name="gpt-4-1106-preview", type="stuff")
27
  print(output)
28
  time_taken = time.time() - start_time
29
- save_log(file_path='logs/policy_combined.csv', query=question, response=output, model_name="gpt-4-1106-preview", time_taken=time_taken, inp="Policy", data="Policy/1")
30
  bot_message = output
31
  chat_history.append((message, bot_message))
32
  time.sleep(2)
 
26
  output = chain.get_response(query=question, k=100, model_name="gpt-4-1106-preview", type="stuff")
27
  print(output)
28
  time_taken = time.time() - start_time
29
+ save_log(file_path='logs/policy_combined_hf.csv', query=question, response=output, model_name="gpt-4-1106-preview", time_taken=time_taken, inp="Policy", data="Policy/1")
30
  bot_message = output
31
  chat_history.append((message, bot_message))
32
  time.sleep(2)