vansin commited on
Commit
f85da29
1 Parent(s): ee163cc

feat: update

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -3,9 +3,14 @@ import os
3
  import subprocess
4
  import sys
5
 
 
 
 
 
6
  # # os.system("python -m mindsearch.app --lang en --model_format internlm_server")
 
 
7
 
8
- os.system("apt install nodejs npm && cd frontend/React && npm install && npm run start")
9
 
10
 
11
  # from flask import Flask, send_from_directory
@@ -167,7 +172,6 @@ os.system("apt install nodejs npm && cd frontend/React && npm install && npm run
167
 
168
  # # subprocess.Popen(["python", "-m", "mindsearch.app", "--lang", "en", "--model_format", "internlm_server"], shell=True, stdout=sys.stdout, stderr=sys.stderr)
169
 
170
- os.system("python -m mindsearch.app --lang en --model_format internlm_server &")
171
 
172
  # demo.queue()
173
  # demo.launch(server_name='0.0.0.0',
 
3
  import subprocess
4
  import sys
5
 
6
+
7
+ os.system("apt install nodejs npm -y && cd frontend/React && npm install && npm run start")
8
+
9
+
10
  # # os.system("python -m mindsearch.app --lang en --model_format internlm_server")
11
+ os.system("python -m mindsearch.app --lang en --model_format internlm_server &")
12
+
13
 
 
14
 
15
 
16
  # from flask import Flask, send_from_directory
 
172
 
173
  # # subprocess.Popen(["python", "-m", "mindsearch.app", "--lang", "en", "--model_format", "internlm_server"], shell=True, stdout=sys.stdout, stderr=sys.stderr)
174
 
 
175
 
176
  # demo.queue()
177
  # demo.launch(server_name='0.0.0.0',