asv7j commited on
Commit
2ae8beb
1 Parent(s): 728e771

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def modelResp(promt):
27
  {"role": "system", "content": "You are a helpful assistant, Sia, developed by Sushma. You will response in polity and brief."},
28
  {"role": "user", "content": "Who are you?"},
29
  {"role": "assistant", "content": "I am Sia, a small language model created by Sushma."},
30
- {"role": "user", "content": prompt}
31
  ]
32
  text = tokenizer.apply_chat_template(
33
  messages,
@@ -52,7 +52,7 @@ def modelResp1(promt):
52
  {"role": "system", "content": "You are a helpful assistant, Sia, developed by Sushma. You will response in polity and brief."},
53
  {"role": "user", "content": "Who are you?"},
54
  {"role": "assistant", "content": "I am Sia, a small language model created by Sushma."},
55
- {"role": "user", "content": prompt}
56
  ]
57
  text = tokenizer.apply_chat_template(
58
  messages,
 
27
  {"role": "system", "content": "You are a helpful assistant, Sia, developed by Sushma. You will response in polity and brief."},
28
  {"role": "user", "content": "Who are you?"},
29
  {"role": "assistant", "content": "I am Sia, a small language model created by Sushma."},
30
+ {"role": "user", "content": f"{prompt}"}
31
  ]
32
  text = tokenizer.apply_chat_template(
33
  messages,
 
52
  {"role": "system", "content": "You are a helpful assistant, Sia, developed by Sushma. You will response in polity and brief."},
53
  {"role": "user", "content": "Who are you?"},
54
  {"role": "assistant", "content": "I am Sia, a small language model created by Sushma."},
55
+ {"role": "user", "content": f"{prompt}"}
56
  ]
57
  text = tokenizer.apply_chat_template(
58
  messages,