Spaces:
Running
Running
Update app.py
Browse files
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[
|
61 |
-
user = translator.translate(f'{row[
|
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'])
|