Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +16 -16
chain_app.py
CHANGED
|
@@ -576,8 +576,8 @@ async def chat_profile():
|
|
| 576 |
]
|
| 577 |
),
|
| 578 |
cl.ChatProfile(
|
| 579 |
-
name=
|
| 580 |
-
markdown_description=
|
| 581 |
starters=[
|
| 582 |
cl.Starter(
|
| 583 |
label="Morning routine ideation",
|
|
@@ -604,8 +604,8 @@ async def chat_profile():
|
|
| 604 |
]
|
| 605 |
),
|
| 606 |
cl.ChatProfile(
|
| 607 |
-
name='Aya-
|
| 608 |
-
markdown_description='Cohere open sourced AI model with
|
| 609 |
starters=[
|
| 610 |
cl.Starter(
|
| 611 |
label="Morning routine ideation",
|
|
@@ -632,8 +632,8 @@ async def chat_profile():
|
|
| 632 |
]
|
| 633 |
),
|
| 634 |
cl.ChatProfile(
|
| 635 |
-
name='
|
| 636 |
-
markdown_description='Cohere open sourced AI model
|
| 637 |
starters=[
|
| 638 |
cl.Starter(
|
| 639 |
label="Morning routine ideation",
|
|
@@ -660,8 +660,8 @@ async def chat_profile():
|
|
| 660 |
]
|
| 661 |
),
|
| 662 |
cl.ChatProfile(
|
| 663 |
-
name='Command-R',
|
| 664 |
-
markdown_description='Cohere open sourced AI model named Command R',
|
| 665 |
starters=[
|
| 666 |
cl.Starter(
|
| 667 |
label="Morning routine ideation",
|
|
@@ -686,10 +686,9 @@ async def chat_profile():
|
|
| 686 |
)
|
| 687 |
|
| 688 |
]
|
| 689 |
-
|
| 690 |
),
|
| 691 |
cl.ChatProfile(
|
| 692 |
-
name='Command-
|
| 693 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 694 |
starters=[
|
| 695 |
cl.Starter(
|
|
@@ -718,7 +717,7 @@ async def chat_profile():
|
|
| 718 |
|
| 719 |
),
|
| 720 |
cl.ChatProfile(
|
| 721 |
-
name='Command-Light
|
| 722 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 723 |
starters=[
|
| 724 |
cl.Starter(
|
|
@@ -747,7 +746,7 @@ async def chat_profile():
|
|
| 747 |
|
| 748 |
),
|
| 749 |
cl.ChatProfile(
|
| 750 |
-
name='Command-Nightly',
|
| 751 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 752 |
starters=[
|
| 753 |
cl.Starter(
|
|
@@ -776,7 +775,7 @@ async def chat_profile():
|
|
| 776 |
|
| 777 |
),
|
| 778 |
cl.ChatProfile(
|
| 779 |
-
name='Command',
|
| 780 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 781 |
starters=[
|
| 782 |
cl.Starter(
|
|
@@ -805,8 +804,8 @@ async def chat_profile():
|
|
| 805 |
|
| 806 |
),
|
| 807 |
cl.ChatProfile(
|
| 808 |
-
name=
|
| 809 |
-
markdown_description=
|
| 810 |
starters=[
|
| 811 |
cl.Starter(
|
| 812 |
label="Morning routine ideation",
|
|
@@ -831,6 +830,7 @@ async def chat_profile():
|
|
| 831 |
)
|
| 832 |
|
| 833 |
]
|
|
|
|
| 834 |
),
|
| 835 |
|
| 836 |
cl.ChatProfile(
|
|
@@ -2203,7 +2203,7 @@ async def main(message: cl.Message):
|
|
| 2203 |
model="accounts/fireworks/models/llama-v3p1-405b-instruct",
|
| 2204 |
messages=[{
|
| 2205 |
"role": "user",
|
| 2206 |
-
"content":
|
| 2207 |
}],
|
| 2208 |
)
|
| 2209 |
await cl.Message(
|
|
|
|
| 576 |
]
|
| 577 |
),
|
| 578 |
cl.ChatProfile(
|
| 579 |
+
name="Llama-3-8B",
|
| 580 |
+
markdown_description="Meta Open Source model Llama-2 with 7B parameters",
|
| 581 |
starters=[
|
| 582 |
cl.Starter(
|
| 583 |
label="Morning routine ideation",
|
|
|
|
| 604 |
]
|
| 605 |
),
|
| 606 |
cl.ChatProfile(
|
| 607 |
+
name='Aya-35B',
|
| 608 |
+
markdown_description='Cohere open sourced AI model with 35B parameters',
|
| 609 |
starters=[
|
| 610 |
cl.Starter(
|
| 611 |
label="Morning routine ideation",
|
|
|
|
| 632 |
]
|
| 633 |
),
|
| 634 |
cl.ChatProfile(
|
| 635 |
+
name='Aya-23B',
|
| 636 |
+
markdown_description='Cohere open sourced AI model with 23B parameters',
|
| 637 |
starters=[
|
| 638 |
cl.Starter(
|
| 639 |
label="Morning routine ideation",
|
|
|
|
| 660 |
]
|
| 661 |
),
|
| 662 |
cl.ChatProfile(
|
| 663 |
+
name='Command-R-Plus',
|
| 664 |
+
markdown_description='Cohere open sourced AI model named Command R plus',
|
| 665 |
starters=[
|
| 666 |
cl.Starter(
|
| 667 |
label="Morning routine ideation",
|
|
|
|
| 686 |
)
|
| 687 |
|
| 688 |
]
|
|
|
|
| 689 |
),
|
| 690 |
cl.ChatProfile(
|
| 691 |
+
name='Command-R',
|
| 692 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 693 |
starters=[
|
| 694 |
cl.Starter(
|
|
|
|
| 717 |
|
| 718 |
),
|
| 719 |
cl.ChatProfile(
|
| 720 |
+
name='Command-Light',
|
| 721 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 722 |
starters=[
|
| 723 |
cl.Starter(
|
|
|
|
| 746 |
|
| 747 |
),
|
| 748 |
cl.ChatProfile(
|
| 749 |
+
name='Command-Light-Nightly',
|
| 750 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 751 |
starters=[
|
| 752 |
cl.Starter(
|
|
|
|
| 775 |
|
| 776 |
),
|
| 777 |
cl.ChatProfile(
|
| 778 |
+
name='Command-Nightly',
|
| 779 |
markdown_description='Cohere open sourced AI model named Command R',
|
| 780 |
starters=[
|
| 781 |
cl.Starter(
|
|
|
|
| 804 |
|
| 805 |
),
|
| 806 |
cl.ChatProfile(
|
| 807 |
+
name='Command',
|
| 808 |
+
markdown_description='Cohere open sourced AI model named Command R',
|
| 809 |
starters=[
|
| 810 |
cl.Starter(
|
| 811 |
label="Morning routine ideation",
|
|
|
|
| 830 |
)
|
| 831 |
|
| 832 |
]
|
| 833 |
+
|
| 834 |
),
|
| 835 |
|
| 836 |
cl.ChatProfile(
|
|
|
|
| 2203 |
model="accounts/fireworks/models/llama-v3p1-405b-instruct",
|
| 2204 |
messages=[{
|
| 2205 |
"role": "user",
|
| 2206 |
+
"content": message.content,
|
| 2207 |
}],
|
| 2208 |
)
|
| 2209 |
await cl.Message(
|