ManvithGopu1394 commited on
Commit
0e166cd
·
1 Parent(s): d947de0

update test and gitignore files

Browse files
Files changed (2) hide show
  1. .gitignore +12 -1
  2. 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
- People experience many things every day, but they do not always notice them. When someone walks outside, they may see buildings, trees, or cars, but they often do not think about these things. They are used to them, so they feel normal. Even small changes, like a cool breeze or a warm sun, can affect how a person feels, but these changes are easy to ignore.
6
 
7
- If a person slows down and pays attention, they can see more details. Colors look brighter, and sounds become clearer. A simple walk can feel more interesting when someone focuses on what is around them. They may hear birds, notice the shape of leaves, or feel the ground under their feet. These small observations can make everyday life more enjoyable.
 
 
 
 
8
 
9
- People often move quickly because they are busy. They think about work, school, or other tasks. But taking a moment to observe the world can help reduce stress. It can make a person feel calm and relaxed. Paying attention to simple things is an easy way to feel more connected to the present moment.
10
 
11
- Learning to notice everyday details is a skill. With practice, anyone can become more aware of their surroundings and enjoy daily life more fully.
12
- """
13
-
14
- translated = translate_fast(
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