Bofandra commited on
Commit
954f309
1 Parent(s): 4466f61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -62,7 +62,7 @@ def respond(
62
  print(user)
63
  #print(row['assistant'])
64
  assistant = translator.translate(row['assistant']).text
65
- print(assistant)
66
  messages.append({"role": "user", "content":user })
67
  messages.append({"role": "assistant", "content": assistant})
68
 
@@ -111,12 +111,6 @@ demo = gr.ChatInterface(
111
  ["Why is men created?"],
112
  ["How is life after death?"],
113
  ["Please tell me about superstition!"],
114
- ["How moses defeat pharaoh?"],
115
- ["Please tell me about inheritance law in Islam!"],
116
- ["A woman not wear hijab"],
117
- ["Worshipping God beside Allah"],
118
- ["Blindly obey a person"],
119
- ["Make profit from lending money to a friend"],
120
  ],
121
  )
122
 
 
62
  print(user)
63
  #print(row['assistant'])
64
  assistant = translator.translate(row['assistant']).text
65
+ #print(assistant)
66
  messages.append({"role": "user", "content":user })
67
  messages.append({"role": "assistant", "content": assistant})
68
 
 
111
  ["Why is men created?"],
112
  ["How is life after death?"],
113
  ["Please tell me about superstition!"],
 
 
 
 
 
 
114
  ],
115
  )
116