paralym commited on
Commit
eede079
1 Parent(s): d0ca30c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -64,9 +64,10 @@ repo_name = os.environ["LOG_REPO"]
64
  external_log_dir = "./logs"
65
  LOGDIR = external_log_dir
66
 
67
- # subprocess.check_call([sys.executable, '-m', 'cd LLaVA-NeXT'])
68
- # subprocess.check_call([sys.executable, '-m', "pip", "install", "-e", "."])
69
- # subprocess.check_call([sys.executable, '-m', 'cd ..'])
 
70
 
71
  def install_gradio_4_35_0():
72
  current_version = gr.__version__
 
64
  external_log_dir = "./logs"
65
  LOGDIR = external_log_dir
66
 
67
+ subprocess.check_call([sys.executable, '-m', 'git', 'clone', 'https://github.com/paralym/LLaVA-NeXT'])
68
+ subprocess.check_call([sys.executable, '-m', 'cd', 'LLaVA-NeXT'])
69
+ subprocess.check_call([sys.executable, '-m', "pip", "install", "-e", "."])
70
+ subprocess.check_call([sys.executable, '-m', 'cd ..'])
71
 
72
  def install_gradio_4_35_0():
73
  current_version = gr.__version__