Spaces:
Sleeping
Sleeping
Commit ·
0e166cd
1
Parent(s): d947de0
update test and gitignore files
Browse files- .gitignore +12 -1
- test.py +15 -14
.gitignore
CHANGED
|
@@ -6,4 +6,15 @@ outputs/
|
|
| 6 |
venv
|
| 7 |
*.log
|
| 8 |
*.sqlite3
|
| 9 |
-
*.wav
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
venv
|
| 7 |
*.log
|
| 8 |
*.sqlite3
|
| 9 |
+
*.wav
|
| 10 |
+
|
| 11 |
+
*.jpg
|
| 12 |
+
*.png
|
| 13 |
+
*.jpeg
|
| 14 |
+
*.MOV
|
| 15 |
+
*.mp4
|
| 16 |
+
*.pt
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
functions/object_detect/image_detection.py
|
| 20 |
+
functions/object_detect/video_detection.py
|
test.py
CHANGED
|
@@ -1,20 +1,21 @@
|
|
| 1 |
from functions.translate.translate import translate_fast
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
if __name__ == "__main__":
|
| 4 |
-
text = """
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
-
""
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
text=text,
|
| 16 |
-
input_lang="en",
|
| 17 |
-
output_lang="es",
|
| 18 |
-
)
|
| 19 |
-
|
| 20 |
-
print(translated)
|
|
|
|
| 1 |
from functions.translate.translate import translate_fast
|
| 2 |
+
from functions.object_detect.object_detection_image import object_detection_image
|
| 3 |
+
from functions.object_detect.object_detection_video import object_detection_video
|
| 4 |
+
from functions.image3d.image3dRemote import run_kaggle_image_to_3d
|
| 5 |
|
| 6 |
if __name__ == "__main__":
|
| 7 |
+
# text = """
|
| 8 |
+
# hello world this is your boy from bangalore india. I am building vllama which helps in translation"""
|
| 9 |
|
| 10 |
+
# translated = translate_fast(
|
| 11 |
+
# text=text,
|
| 12 |
+
# input_lang="en",
|
| 13 |
+
# output_lang="de",
|
| 14 |
+
# )
|
| 15 |
|
| 16 |
+
# print(translated)
|
| 17 |
|
| 18 |
+
# object_detection_image(path = "outputs/vishvesh_1.jpeg")
|
| 19 |
+
# object_detection_video(video_path = "outputs/test_video.mp4")
|
| 20 |
+
print("test")
|
| 21 |
+
# pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|