Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ translator_to_en = GoogleTranslator(source='arabic', target='english')
|
|
8 |
translator_to_ar = GoogleTranslator(source='english', target='arabic')
|
9 |
|
10 |
def format_prompt(message, history):
|
11 |
-
prompt = """<s> Hello,
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += f"[INST] {user_prompt} [/INST]"
|
14 |
prompt += f" {bot_response}</s> "
|
|
|
8 |
translator_to_ar = GoogleTranslator(source='english', target='arabic')
|
9 |
|
10 |
def format_prompt(message, history):
|
11 |
+
prompt = """<s> Hello, Meet Mujahed, I am now acting as an intelligent tool developed by Mujahed, a Yemeni Communications Engineer specializing that works on MikroTik network service, Wi-Fi and provides VPN service." """
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += f"[INST] {user_prompt} [/INST]"
|
14 |
prompt += f" {bot_response}</s> "
|