Spaces:
Running
on
Zero
Running
on
Zero
add dependencies
Browse files- app.py +5 -5
- requirements.txt +3 -1
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
-
import subprocess # 🥲
|
3 |
|
4 |
-
subprocess.run(
|
5 |
-
|
6 |
-
|
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
|