mindus-tk commited on
Commit
aa5699f
1 Parent(s): c7b35c3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ model_name = "rinna/youri-7b-chat"
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForCausalLM.from_pretrained(model_name)
11
 
12
- @app.route("/endpoint", methods=['POST'])
13
  def endpoint():
14
  input_data = request.json
15
  input_text = input_data['input']
 
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForCausalLM.from_pretrained(model_name)
11
 
12
+ @app.route("/", methods=['POST'])
13
  def endpoint():
14
  input_data = request.json
15
  input_text = input_data['input']