Spaces:
Sleeping
Sleeping
Commit
·
87ff9a1
1
Parent(s):
307474b
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,10 @@ async def main(message):
|
|
33 |
res = await llm_chain.acall(message, callbacks=[cl.AsyncLangchainCallbackHandler()])
|
34 |
|
35 |
await cl.Message(content=res["text"]).send()
|
36 |
-
|
37 |
-
|
|
|
|
|
38 |
def rename(orig_author):
|
39 |
rename_dict = {
|
40 |
'LLMChain': 'Scooby'
|
|
|
33 |
res = await llm_chain.acall(message, callbacks=[cl.AsyncLangchainCallbackHandler()])
|
34 |
|
35 |
await cl.Message(content=res["text"]).send()
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
@cl.author_rename # This will be particularly useful when we want to customize this thing for production.
|
40 |
def rename(orig_author):
|
41 |
rename_dict = {
|
42 |
'LLMChain': 'Scooby'
|