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

Update app.py

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