TheVera commited on
Commit
2ef6724
·
verified ·
1 Parent(s): 411fbae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def Mistral7B(prompt, instructions, api_key, temperature=0.2, max_new_tokens=4,
57
  except Exception as e:
58
  return str(e)
59
 
60
- @app.route("/generate-text", methods=["POST"])
61
  def generate_text():
62
  data = request.json
63
  prompt = data.get("prompt")
 
57
  except Exception as e:
58
  return str(e)
59
 
60
+ @app.route("/generate_text", methods=["POST"])
61
  def generate_text():
62
  data = request.json
63
  prompt = data.get("prompt")