lqfjun commited on
Commit
3557c71
1 Parent(s): fec7648

Update api1.py

Browse files
Files changed (1) hide show
  1. api1.py +1 -1
api1.py CHANGED
@@ -259,4 +259,4 @@ def completion():
259
  return Response(generate(), mimetype='text/event-stream')
260
 
261
  if __name__ == '__main__':
262
- app.run(args.host, port=args.port)
 
259
  return Response(generate(), mimetype='text/event-stream')
260
 
261
  if __name__ == '__main__':
262
+ cors.run(args.host, port=args.port)