onuralpszr commited on
Commit
4fb6d61
1 Parent(s): b291f6a

feat: ✨ YOLO-World Dataset added

Browse files

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>

Files changed (4) hide show
  1. .DS_Store +0 -0
  2. README.md +2 -0
  3. app.py +7 -7
  4. requirements.txt +12 -12
.DS_Store DELETED
Binary file (6.15 kB)
 
README.md CHANGED
@@ -9,5 +9,7 @@ app_file: app.py
9
  pinned: false
10
  license: mit
11
  ---
 
 
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
9
  pinned: false
10
  license: mit
11
  ---
12
+ - openai/clip-vit-base-patch32
13
+ - wondervictor/YOLO-World
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -1,16 +1,16 @@
1
- import os
2
- os.system("mim install 'mmengine>=0.7.0'")
3
- os.system("mim install mmcv")
4
- os.system("mim install 'mmdet>=3.0.0'")
5
- os.system("pip install -e .")
6
 
7
 
8
- from yolo_world import version
9
 
10
  import gradio as gr
11
 
12
  def greet(name):
13
- return version
14
 
15
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
16
  iface.launch()
 
1
+ # import os
2
+ # os.system("mim install 'mmengine>=0.7.0'")
3
+ # os.system("mim install mmcv")
4
+ # os.system("mim install 'mmdet>=3.0.0'")
5
+ # os.system("pip install -e .")
6
 
7
 
8
+ from yolo_world import version
9
 
10
  import gradio as gr
11
 
12
  def greet(name):
13
+ return "text"
14
 
15
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
16
  iface.launch()
requirements.txt CHANGED
@@ -1,14 +1,14 @@
1
- openmim
2
  gradio
3
- transformers
4
- numpy
5
- opencv-python
6
- supervision
7
- wheel
8
 
9
- --extra-index-url https://download.pytorch.org/whl/cu121
10
- torch==2.1.0+cu121
11
- torchdata==0.7.0
12
- torchsummary==1.5.1
13
- torchtext==0.16.0
14
- torchvision==0.16.0+cu121
 
1
+ openmim
2
  gradio
3
+ transformers
4
+ # numpy
5
+ # opencv-python
6
+ # supervision
7
+ # wheel
8
 
9
+ # --extra-index-url https://download.pytorch.org/whl/cu121
10
+ # torch==2.1.0+cu121
11
+ # torchdata==0.7.0
12
+ # torchsummary==1.5.1
13
+ # torchtext==0.16.0
14
+ # torchvision==0.16.0+cu121