paralym commited on
Commit
cfb93b1
1 Parent(s): f0efefd

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([sys.executable, '-m', 'git clone [email protected]:paralym/LLaVA-NeXT.git'])
4
- subprocess.check_call([sys.executable, '-m', 'cd', 'LLaVA-NeXT'])
5
  subprocess.check_call([sys.executable, '-m', "pip", "install", "-e", "."])
6
- subprocess.check_call([sys.executable, '-m', 'cd ..'])
7
  # from .demo_modelpart import InferenceDemo
8
  import gradio as gr
9
  import os
 
1
  import subprocess
2
  import sys
3
+ subprocess.check_call(['git clone [email protected]: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