binqiangliu commited on
Commit
e61f9fd
·
1 Parent(s): 3f13d2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ load_dotenv()
18
  #@app.route('/')
19
  #def index():
20
  # return flask.render_template('index.html')
21
- app = flask(__name__)
 
22
  @app.route('/api/chat', methods=['POST'])
23
  def chat():
24
  data = request.get_json()
 
18
  #@app.route('/')
19
  #def index():
20
  # return flask.render_template('index.html')
21
+
22
+ app = Flask(__name__)
23
  @app.route('/api/chat', methods=['POST'])
24
  def chat():
25
  data = request.get_json()