paralym commited on
Commit
172bb1d
1 Parent(s): cfb93b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import subprocess
2
  import sys
3
- subprocess.check_call(['git clone git@github.com:paralym/LLaVA-NeXT.git'])
4
- subprocess.check_call(['cd', 'LLaVA-NeXT'])
5
  subprocess.check_call([sys.executable, '-m', "pip", "install", "-e", "."])
6
- subprocess.check_call(['cd ..'])
7
  # from .demo_modelpart import InferenceDemo
8
  import gradio as gr
9
  import os
 
1
  import subprocess
2
  import sys
3
+ subprocess.run(['git', 'clone', 'https://github.com/paralym/LLaVA-NeXT.git'], check=True)
4
+ subprocess.run(['cd', 'LLaVA-NeXT'], check=True)
5
  subprocess.check_call([sys.executable, '-m', "pip", "install", "-e", "."])
6
+ subprocess.run(['cd ..'], check=True)
7
  # from .demo_modelpart import InferenceDemo
8
  import gradio as gr
9
  import os