rexprimematrix commited on
Commit
da6492b
·
verified ·
1 Parent(s): c92117c

Update brain.py

Browse files
Files changed (1) hide show
  1. brain.py +1 -1
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=["POST"])
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", "")