Bofandra commited on
Commit
282512a
·
verified ·
1 Parent(s): d2e3cd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -116,6 +116,8 @@ def respond(
116
 
117
  response += token
118
 
 
 
119
  if(len(token)==0 and message_language!='en'):
120
  translated_response = translator.translate(response, src='en', dest=message_language)
121
  if(translated_response and translated_response.text):
@@ -124,6 +126,7 @@ def respond(
124
  yield response
125
  else:
126
  yield response
 
127
 
128
 
129
  """
 
116
 
117
  response += token
118
 
119
+ yield response
120
+ '''
121
  if(len(token)==0 and message_language!='en'):
122
  translated_response = translator.translate(response, src='en', dest=message_language)
123
  if(translated_response and translated_response.text):
 
126
  yield response
127
  else:
128
  yield response
129
+ '''
130
 
131
 
132
  """