paralym commited on
Commit
f5b63de
1 Parent(s): 7df6445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  # from .demo_modelpart import InferenceDemo
2
  import gradio as gr
3
  import os
@@ -64,10 +68,6 @@ repo_name = os.environ["LOG_REPO"]
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__
 
1
+ subprocess.check_call([sys.executable, '-m', 'git', 'clone', 'https://github.com/paralym/LLaVA-NeXT'])
2
+ subprocess.check_call([sys.executable, '-m', 'cd', 'LLaVA-NeXT'])
3
+ subprocess.check_call([sys.executable, '-m', "pip", "install", "-e", "."])
4
+ subprocess.check_call([sys.executable, '-m', 'cd ..'])
5
  # from .demo_modelpart import InferenceDemo
6
  import gradio as gr
7
  import os
 
68
  external_log_dir = "./logs"
69
  LOGDIR = external_log_dir
70
 
 
 
 
 
71
 
72
  def install_gradio_4_35_0():
73
  current_version = gr.__version__