Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +1 -4
chain_app.py
CHANGED
@@ -2083,10 +2083,7 @@ async def main(message: cl.Message):
|
|
2083 |
await msg.send()
|
2084 |
for res in hf_text_client.predict(
|
2085 |
message=message.content,
|
2086 |
-
|
2087 |
-
param_3=512,
|
2088 |
-
param_4=0.7,
|
2089 |
-
param_5=0.95,
|
2090 |
api_name="/chat"
|
2091 |
):
|
2092 |
stream_list.appened(res)
|
|
|
2083 |
await msg.send()
|
2084 |
for res in hf_text_client.predict(
|
2085 |
message=message.content,
|
2086 |
+
system_message=f"You are neural nexus official chatbot, you are made by Artin Daneshvar and Sadra Noadoust and you are here to help people",
|
|
|
|
|
|
|
2087 |
api_name="/chat"
|
2088 |
):
|
2089 |
stream_list.appened(res)
|