barghavani commited on
Commit
79a899a
1 Parent(s): 7b5cee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def user_input(user_question):
54
 
55
  # Create translation model
56
  translate = Translation()
57
- translation = translate(response["output_text"], "fa")
58
 
59
  st.write("Reply: ", translation)
60
 
 
54
 
55
  # Create translation model
56
  translate = Translation()
57
+ translation = translate(response["output_text"], target="fa", source="en")
58
 
59
  st.write("Reply: ", translation)
60