Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
6afb93c
1
Parent(s):
17976e1
fix dependency
Browse files- app.py +0 -5
- build.sh +0 -9
- requirements.txt +4 -1
app.py
CHANGED
|
@@ -5,11 +5,6 @@ import numpy as np
|
|
| 5 |
import torch
|
| 6 |
from PIL import Image
|
| 7 |
|
| 8 |
-
import sys
|
| 9 |
-
sys.path.append("uniflowmatch/")
|
| 10 |
-
sys.path.append("UniCeption/uniception")
|
| 11 |
-
|
| 12 |
-
|
| 13 |
from uniflowmatch.models.ufm import (
|
| 14 |
UniFlowMatchClassificationRefinement,
|
| 15 |
UniFlowMatchConfidence,
|
|
|
|
| 5 |
import torch
|
| 6 |
from PIL import Image
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
from uniflowmatch.models.ufm import (
|
| 9 |
UniFlowMatchClassificationRefinement,
|
| 10 |
UniFlowMatchConfidence,
|
build.sh
DELETED
|
@@ -1,9 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
cd /home/user/app/UniCeption
|
| 4 |
-
pip install -e .
|
| 5 |
-
cd /home/user/app
|
| 6 |
-
|
| 7 |
-
# Install dependencies
|
| 8 |
-
pip install -r requirements.txt
|
| 9 |
-
pip install -e .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -7,4 +7,7 @@ opencv-python
|
|
| 7 |
flow_vis
|
| 8 |
huggingface_hub
|
| 9 |
einops
|
| 10 |
-
gradio
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
flow_vis
|
| 8 |
huggingface_hub
|
| 9 |
einops
|
| 10 |
+
gradio
|
| 11 |
+
|
| 12 |
+
-e /home/user/app
|
| 13 |
+
-e /home/user/app/UniCeption
|