Spaces:
Sleeping
Sleeping
- __pycache__/app.cpython-311.pyc +0 -0
- app.py +1 -4
__pycache__/app.cpython-311.pyc
CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -75,7 +75,7 @@ def auth_callback(
|
|
75 |
"broomva",
|
76 |
"b68cacbadaee450b8a8ce2dd44842f1de03ee9993ad97b5e99dea64ef93960ba",
|
77 |
):
|
78 |
-
return cl.AppUser(username="Broomva", role="
|
79 |
elif (username, password) == ("guest", "guest"):
|
80 |
return cl.AppUser(username="Guest", role="USER", provider="credentials")
|
81 |
else:
|
@@ -90,7 +90,6 @@ async def chat_profile(current_user: cl.AppUser):
|
|
90 |
cl.ChatProfile(
|
91 |
name="Broomva Book Agent",
|
92 |
markdown_description="The underlying LLM model is **GPT-3.5**.",
|
93 |
-
# icon="https://picsum.photos/200",
|
94 |
),
|
95 |
]
|
96 |
|
@@ -98,12 +97,10 @@ async def chat_profile(current_user: cl.AppUser):
|
|
98 |
cl.ChatProfile(
|
99 |
name="Broomva Book Agent Lite",
|
100 |
markdown_description="The underlying LLM model is **GPT-3.5**.",
|
101 |
-
# icon="https://picsum.photos/200",
|
102 |
),
|
103 |
cl.ChatProfile(
|
104 |
name="Broomva Book Agent Turbo",
|
105 |
markdown_description="The underlying LLM model is **GPT-4 Turbo**.",
|
106 |
-
# icon="https://picsum.photos/250",
|
107 |
),
|
108 |
]
|
109 |
|
|
|
75 |
"broomva",
|
76 |
"b68cacbadaee450b8a8ce2dd44842f1de03ee9993ad97b5e99dea64ef93960ba",
|
77 |
):
|
78 |
+
return cl.AppUser(username="Broomva", role="OWNER", provider="credentials", tags = ["admin_user"])
|
79 |
elif (username, password) == ("guest", "guest"):
|
80 |
return cl.AppUser(username="Guest", role="USER", provider="credentials")
|
81 |
else:
|
|
|
90 |
cl.ChatProfile(
|
91 |
name="Broomva Book Agent",
|
92 |
markdown_description="The underlying LLM model is **GPT-3.5**.",
|
|
|
93 |
),
|
94 |
]
|
95 |
|
|
|
97 |
cl.ChatProfile(
|
98 |
name="Broomva Book Agent Lite",
|
99 |
markdown_description="The underlying LLM model is **GPT-3.5**.",
|
|
|
100 |
),
|
101 |
cl.ChatProfile(
|
102 |
name="Broomva Book Agent Turbo",
|
103 |
markdown_description="The underlying LLM model is **GPT-4 Turbo**.",
|
|
|
104 |
),
|
105 |
]
|
106 |
|