Spaces:
Sleeping
Sleeping
vansin
commited on
Commit
·
65681d8
1
Parent(s):
13a5963
feat: update
Browse files
app.py
CHANGED
|
@@ -167,7 +167,8 @@ with gr.Blocks() as demo:
|
|
| 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 |
demo.queue()
|
| 172 |
demo.launch(server_name='0.0.0.0',
|
| 173 |
server_port=7860,
|
|
|
|
| 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',
|
| 174 |
server_port=7860,
|