Tonic commited on
Commit
c47030c
•
1 Parent(s): 621c8c9

add dependencies

Browse files
Files changed (2) hide show
  1. app.py +5 -5
  2. requirements.txt +3 -1
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import gradio as gr
2
- import subprocess # 🥲
3
 
4
- subprocess.run(
5
- "pip install git+https://github.com/LLaVA-VL/LLaVA-NeXT.git",
6
- shell=True,
7
- )
8
 
9
  import torch
10
  from llava.model.builder import load_pretrained_model
 
1
  import gradio as gr
2
+ # import subprocess # 🥲
3
 
4
+ # subprocess.run(
5
+ # "pip install git+https://github.com/LLaVA-VL/LLaVA-NeXT.git",
6
+ # shell=True,
7
+ # )
8
 
9
  import torch
10
  from llava.model.builder import load_pretrained_model
requirements.txt CHANGED
@@ -4,4 +4,6 @@ transformers
4
  torch
5
  torchvision
6
  decord
7
- einops
 
 
 
4
  torch
5
  torchvision
6
  decord
7
+ einops
8
+ accelerate
9
+ git+https://github.com/LLaVA-VL/LLaVA-NeXT.git