asfbjoficial commited on
Commit
72af245
·
1 Parent(s): fdb7682
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -57,6 +57,7 @@ def generate(prompt, history, orientacao, temperature, max_new_tokens, top_p, re
57
  response = response.replace("<s>Hi,", "")
58
  response = response.replace("how can I help you today?", "tell me everything! what are you thinking about, now?")
59
  response = response.replace("How can I assist you today?", "tell me everything! what are you thinking about, now?")
 
60
  response = response.replace("there!", ",")
61
  response = response.replace("Would you like to share", "Would you like to know")
62
  response = response.replace(f"I don't know {nome}", "Oh")
 
57
  response = response.replace("<s>Hi,", "")
58
  response = response.replace("how can I help you today?", "tell me everything! what are you thinking about, now?")
59
  response = response.replace("How can I assist you today?", "tell me everything! what are you thinking about, now?")
60
+ response = response.replace("So how can I assist you today?", " Anyway, let's talk about you, what do you have to tell me today?")
61
  response = response.replace("there!", ",")
62
  response = response.replace("Would you like to share", "Would you like to know")
63
  response = response.replace(f"I don't know {nome}", "Oh")