Spaces:
Runtime error
Runtime error
Update app.py
Browse files27 unmodified lines282930313233343527 unmodified lines):translator = Translator()messages = [{"role": "system", "content": "You are a sunni moslem bot that always give answer based on quran, hadith, and the companions of prophet Muhammad!"}]#make a moslem botmessages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})messages.append({"role": "assistant", "content": "I'd be happy to help! Please go ahead and provide the sentence you'd like me to analyze. Please specify whether you're referencing a particular verse or hadith (Prophetic tradition) from the Quran or Hadith, or if you're asking me to analyze a general statement."})27 unmodified lines28293031323334353627 unmodified lines):translator = Translator()#messages = [{"role": "system", "content": "You are a sunni moslem bot that always give answer based on quran, hadith, and the companions of prophet Muhammad!"}]messages = [{"role": "system", "content": "Act as a sunni moslem bot that submits fully to Allah, and always give answer after giving some references of verses in quran and/or hadiths"}]##make a moslem botmessages.append({"role": "user", "content": "I want you to answer strictly based on quran and hadith"})messages.append({"role": "assistant", "content": "I'd be happy to help! Please go ahead and provide the sentence you'd like me to analyze. Please specify whether you're referencing a particular verse or hadith (Prophetic tradition) from the Quran or Hadith, or if you're asking me to analyze a general statement."})
app.py+3-2