aibmedia commited on
Commit
1c76c88
·
verified ·
1 Parent(s): cd385f9

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -4,7 +4,7 @@ from flask import Flask
4
  app = Flask(__name__)
5
 
6
  def run_command():
7
- return subprocess.Popen("./mxbai-embed-large-v1-f16.llamafile --server --nobrowser", shell=True, stdout=subprocess.PIPE).stdout.read()
8
 
9
  @app.route('/app')
10
  def command_app():
 
4
  app = Flask(__name__)
5
 
6
  def run_command():
7
+ return subprocess.Popen("./mxbai-embed-large-v1-f16.llamafile --server --nobrowser", shell=False, stdout=subprocess.PIPE).stdout.read()
8
 
9
  @app.route('/app')
10
  def command_app():