Bofandra commited on
Commit
33be67a
1 Parent(s): fd52f38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,8 +57,8 @@ def respond(
57
 
58
  for index, row in sorted_references.iterrows():
59
  print(index)
60
- print(f'"""{row['user']}"""')
61
- user = translator.translate(f'"""{row['user']}"""', src='ar', dest='en')
62
  print(user)
63
  print(row['assistant'])
64
  assistant = translator.translate(row['assistant'])
 
57
 
58
  for index, row in sorted_references.iterrows():
59
  print(index)
60
+ print(f'{row['user']}')
61
+ user = translator.translate(f'{row['user']}', src='ar', dest='en')
62
  print(user)
63
  print(row['assistant'])
64
  assistant = translator.translate(row['assistant'])