asv7j commited on
Commit
8d9c7e4
1 Parent(s): 2ae8beb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ app = FastAPI()
22
  async def read_root():
23
  return {"Hello": "World!"}
24
 
25
- def modelResp(promt):
26
  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?"},
@@ -47,7 +47,7 @@ def modelResp(promt):
47
 
48
  return response
49
 
50
- def modelResp1(promt):
51
  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?"},
 
22
  async def read_root():
23
  return {"Hello": "World!"}
24
 
25
+ def modelResp(prompt):
26
  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?"},
 
47
 
48
  return response
49
 
50
+ def modelResp1(prompt):
51
  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?"},