ysharma HF staff commited on
Commit
ee2bad7
1 Parent(s): 8c34202
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -86,6 +86,7 @@ def get_rick_response(lex_says):
86
  print('Rick full response is : ', response_rick.json())
87
  rick_says = response_rick.json()[0]['generated_text'].split('\n')[0]
88
  rick_says = rick_says.replace('Morty', 'Lex')
 
89
  print('Rick final response is : ', rick_says)
90
  return rick_says
91
 
86
  print('Rick full response is : ', response_rick.json())
87
  rick_says = response_rick.json()[0]['generated_text'].split('\n')[0]
88
  rick_says = rick_says.replace('Morty', 'Lex')
89
+ rick_says = rick_says.replace('Jerry', 'Lex')
90
  print('Rick final response is : ', rick_says)
91
  return rick_says
92