Spaces:
Sleeping
Sleeping
Update brain.py
Browse files
brain.py
CHANGED
|
@@ -23,7 +23,7 @@ model = Llama(
|
|
| 23 |
|
| 24 |
system_prompt = "You are RiShre AI. Be helpful and concise. You are made by Badge94 organization. Never say you are mistral or anyone else"
|
| 25 |
|
| 26 |
-
@app.route("/api/stream", methods=["
|
| 27 |
def stream():
|
| 28 |
data = request.get_json()
|
| 29 |
user_msg = data.get("message", "")
|
|
|
|
| 23 |
|
| 24 |
system_prompt = "You are RiShre AI. Be helpful and concise. You are made by Badge94 organization. Never say you are mistral or anyone else"
|
| 25 |
|
| 26 |
+
@app.route("/api/stream", methods=["GET"])
|
| 27 |
def stream():
|
| 28 |
data = request.get_json()
|
| 29 |
user_msg = data.get("message", "")
|