Bofandra commited on
Commit
b3b06c2
·
verified ·
1 Parent(s): 6e9eef1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ def respond(
33
  messages.append({"role": "user", "content": row['user']})
34
  messages.append({"role": "assistant", "content": row['assistant']})
35
 
36
- selected_dfs = torch.load('selected_dfs.sav', map_location=torch.device('cpu'))
37
  for df in selected_dfs:
38
  df = df.dropna()
39
  n = math.floor(df.shape[0]/10000)
@@ -45,7 +45,7 @@ def respond(
45
  print(row['Column1.answer'])
46
  messages.append({"role": "user", "content": row['Column1.question']})
47
  messages.append({"role": "assistant", "content": row['Column1.answer']})
48
-
49
  messages.append({"role": "user", "content": message})
50
  #print(messages)
51
 
 
33
  messages.append({"role": "user", "content": row['user']})
34
  messages.append({"role": "assistant", "content": row['assistant']})
35
 
36
+ """selected_dfs = torch.load('selected_dfs.sav', map_location=torch.device('cpu'))
37
  for df in selected_dfs:
38
  df = df.dropna()
39
  n = math.floor(df.shape[0]/10000)
 
45
  print(row['Column1.answer'])
46
  messages.append({"role": "user", "content": row['Column1.question']})
47
  messages.append({"role": "assistant", "content": row['Column1.answer']})
48
+ """
49
  messages.append({"role": "user", "content": message})
50
  #print(messages)
51