Heit39 commited on
Commit
b11843f
·
verified ·
1 Parent(s): 504bd47

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def respond(
24
  ):
25
  message = "translate English to French:" + message
26
 
27
- response = translator(message)
28
  print(response)
29
  yield response['translation_text']
30
 
 
24
  ):
25
  message = "translate English to French:" + message
26
 
27
+ response = translator(message)[0]
28
  print(response)
29
  yield response['translation_text']
30