Senqiao commited on
Commit
1659fd2
·
1 Parent(s): a9bf5b6

Update the port and the address

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -758,7 +758,7 @@ def start_worker():
758
  return subprocess.Popen(['python', '-m', 'llava.serve.model_worker', '--host', '0.0.0.0', '--port', '40000', '--worker', 'http://localhost:40000', '--controller', 'http://localhost:10000', '--model-path', 'liuhaotian/llava-v1.5-7b'])
759
 
760
  def start_worker_13():
761
- return subprocess.Popen(['python', '-m', 'llava.serve.model_worker', '--host', '0.0.0.0', '--port', '80000', '--worker', 'http://localhost:80000', '--controller', 'http://localhost:10000', '--model-path', 'liuhaotian/llava-v1.5-13b'])
762
 
763
  def download_llava():
764
  command = ['huggingface-cli', 'download', '--resume-download', 'liuhaotian/llava-v1.5-7b']
 
758
  return subprocess.Popen(['python', '-m', 'llava.serve.model_worker', '--host', '0.0.0.0', '--port', '40000', '--worker', 'http://localhost:40000', '--controller', 'http://localhost:10000', '--model-path', 'liuhaotian/llava-v1.5-7b'])
759
 
760
  def start_worker_13():
761
+ return subprocess.Popen(['python', '-m', 'llava.serve.model_worker', '--host', '0.0.0.0', '--port', '45000', '--worker', 'http://localhost:45000', '--controller', 'http://localhost:10000', '--model-path', 'liuhaotian/llava-v1.5-13b'])
762
 
763
  def download_llava():
764
  command = ['huggingface-cli', 'download', '--resume-download', 'liuhaotian/llava-v1.5-7b']