vjain commited on
Commit
dbb5ddb
1 Parent(s): 04ac275

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -71,8 +71,7 @@ def reply(input, dataset_name):
71
  model="text-davinci-003"
72
  )["choices"][0]["text"].strip(" \n")
73
  chat_transcript = ""
74
- for message in response:
75
- chat_transcript += input + "\n\n" + message + "\n\n"
76
 
77
  return chat_transcript
78
  except Exception as e:
 
71
  model="text-davinci-003"
72
  )["choices"][0]["text"].strip(" \n")
73
  chat_transcript = ""
74
+ chat_transcript += input + "\n\n" + message + "\n\n"
 
75
 
76
  return chat_transcript
77
  except Exception as e: