Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ app = FastAPI()
|
|
22 |
async def read_root():
|
23 |
return {"Hello": "World!"}
|
24 |
|
25 |
-
def modelResp(
|
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(
|
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?"},
|