ali121300 commited on
Commit
0315b44
1 Parent(s): 446feac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,9 +66,9 @@ def handle_userinput(user_question:str):
66
 
67
  for i, message in enumerate(st.session_state.chat_history):
68
  if i % 2 == 0:
69
- st.write("سوال کاربر: " + message.content)
70
  else:
71
- st.write("پاسخ ربات: " + message.content)
72
  text1=message.content
73
  translator = GoogleTranslator(source='english', target='persian')
74
  result = translator.translate(text1)
 
66
 
67
  for i, message in enumerate(st.session_state.chat_history):
68
  if i % 2 == 0:
69
+ #st.write("سوال کاربر: " + message.content)
70
  else:
71
+ st.write("پاسخ ربات: ")
72
  text1=message.content
73
  translator = GoogleTranslator(source='english', target='persian')
74
  result = translator.translate(text1)