Spaces:
Runtime error
Runtime error
different requirements
Browse files- app.py +2 -1
- requirements.txt +7 -121
app.py
CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import torch
|
4 |
|
|
|
|
|
5 |
def update_value(val):
|
6 |
return f'Value is set to {val}'
|
7 |
|
@@ -32,7 +34,6 @@ gr.Interface(
|
|
32 |
outputs = outputs,
|
33 |
title = "- The detection of jar lid defects using Yolov7 -",
|
34 |
description = "contact: rrighart@googlemail.com",
|
35 |
-
|
36 |
examples = [["example1.JPG"], ["example2.JPG"], ["example3.JPG"]],
|
37 |
|
38 |
).launch(debug=True)
|
|
|
2 |
import os
|
3 |
import torch
|
4 |
|
5 |
+
print(f"Version Gradio: {gr.__version__}")
|
6 |
+
|
7 |
def update_value(val):
|
8 |
return f'Value is set to {val}'
|
9 |
|
|
|
34 |
outputs = outputs,
|
35 |
title = "- The detection of jar lid defects using Yolov7 -",
|
36 |
description = "contact: rrighart@googlemail.com",
|
|
|
37 |
examples = [["example1.JPG"], ["example2.JPG"], ["example3.JPG"]],
|
38 |
|
39 |
).launch(debug=True)
|
requirements.txt
CHANGED
@@ -1,121 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
backcall==0.2.0
|
9 |
-
cachetools==5.3.2
|
10 |
-
certifi==2023.11.17
|
11 |
-
charset-normalizer==3.3.2
|
12 |
-
click==8.1.7
|
13 |
-
colorama==0.4.6
|
14 |
-
contourpy==1.1.1
|
15 |
-
cycler==0.12.1
|
16 |
-
decorator==5.1.1
|
17 |
-
exceptiongroup==1.2.0
|
18 |
-
executing==2.0.1
|
19 |
-
fastapi==0.104.1
|
20 |
-
ffmpy==0.3.1
|
21 |
-
filelock==3.13.1
|
22 |
-
fonttools==4.46.0
|
23 |
-
fsspec==2023.12.1
|
24 |
-
google-auth==2.25.2
|
25 |
-
google-auth-oauthlib==1.0.0
|
26 |
-
gradio==4.8.0
|
27 |
-
gradio-client==0.7.1
|
28 |
-
grpcio==1.60.0
|
29 |
-
h11==0.14.0
|
30 |
-
httpcore==1.0.2
|
31 |
-
httpx==0.25.2
|
32 |
-
huggingface-hub==0.19.4
|
33 |
-
idna==3.6
|
34 |
-
importlib-metadata==7.0.0
|
35 |
-
importlib-resources==6.1.1
|
36 |
-
ipython==8.12.3
|
37 |
-
jedi==0.19.1
|
38 |
-
Jinja2==3.1.2
|
39 |
-
jsonschema==4.20.0
|
40 |
-
jsonschema-specifications==2023.11.2
|
41 |
-
kiwisolver==1.4.5
|
42 |
-
Markdown==3.5.1
|
43 |
-
markdown-it-py==3.0.0
|
44 |
-
MarkupSafe==2.1.3
|
45 |
-
matplotlib==3.7.4
|
46 |
-
matplotlib-inline==0.1.6
|
47 |
-
mdurl==0.1.2
|
48 |
-
mpmath==1.3.0
|
49 |
-
networkx==3.1
|
50 |
-
numpy==1.23.5
|
51 |
-
nvidia-cublas-cu12==12.1.3.1
|
52 |
-
nvidia-cuda-cupti-cu12==12.1.105
|
53 |
-
nvidia-cuda-nvrtc-cu12==12.1.105
|
54 |
-
nvidia-cuda-runtime-cu12==12.1.105
|
55 |
-
nvidia-cudnn-cu12==8.9.2.26
|
56 |
-
nvidia-cufft-cu12==11.0.2.54
|
57 |
-
nvidia-curand-cu12==10.3.2.106
|
58 |
-
nvidia-cusolver-cu12==11.4.5.107
|
59 |
-
nvidia-cusparse-cu12==12.1.0.106
|
60 |
-
nvidia-nccl-cu12==2.18.1
|
61 |
-
nvidia-nvjitlink-cu12==12.3.101
|
62 |
-
nvidia-nvtx-cu12==12.1.105
|
63 |
-
oauthlib==3.2.2
|
64 |
-
opencv-python==4.8.1.78
|
65 |
-
orjson==3.9.10
|
66 |
-
packaging==23.2
|
67 |
-
pandas==2.0.3
|
68 |
-
parso==0.8.3
|
69 |
-
pexpect==4.9.0
|
70 |
-
pickleshare==0.7.5
|
71 |
-
Pillow==10.1.0
|
72 |
-
pkgutil-resolve-name==1.3.10
|
73 |
-
prompt-toolkit==3.0.41
|
74 |
-
protobuf==4.21.2
|
75 |
-
psutil==5.9.6
|
76 |
-
ptyprocess==0.7.0
|
77 |
-
pure-eval==0.2.2
|
78 |
-
pyasn1==0.5.1
|
79 |
-
pyasn1-modules==0.3.0
|
80 |
-
pydantic==2.5.2
|
81 |
-
pydantic-core==2.14.5
|
82 |
-
pydub==0.25.1
|
83 |
-
pygments==2.17.2
|
84 |
-
pyparsing==3.1.1
|
85 |
-
python-dateutil==2.8.2
|
86 |
-
python-multipart==0.0.6
|
87 |
-
pytz==2023.3.post1
|
88 |
-
PyYAML==6.0.1
|
89 |
-
referencing==0.32.0
|
90 |
-
requests==2.31.0
|
91 |
-
requests-oauthlib==1.3.1
|
92 |
-
rich==13.7.0
|
93 |
-
rpds-py==0.13.2
|
94 |
-
rsa==4.9
|
95 |
-
scipy==1.10.1
|
96 |
-
seaborn==0.13.0
|
97 |
-
semantic-version==2.10.0
|
98 |
-
shellingham==1.5.4
|
99 |
-
six==1.16.0
|
100 |
-
sniffio==1.3.0
|
101 |
-
stack-data==0.6.3
|
102 |
-
starlette==0.27.0
|
103 |
-
sympy==1.12
|
104 |
-
tensorboard==2.14.0
|
105 |
-
tensorboard-data-server==0.7.2
|
106 |
-
tomlkit==0.12.0
|
107 |
-
toolz==0.12.0
|
108 |
-
torch==2.1.1
|
109 |
-
torchvision==0.16.1
|
110 |
-
tqdm==4.66.1
|
111 |
-
traitlets==5.14.0
|
112 |
-
triton==2.1.0
|
113 |
-
typer==0.9.0
|
114 |
-
typing-extensions==4.8.0
|
115 |
-
tzdata==2023.3
|
116 |
-
urllib3==2.1.0
|
117 |
-
uvicorn==0.24.0.post1
|
118 |
-
wcwidth==0.2.12
|
119 |
-
websockets==11.0.3
|
120 |
-
werkzeug==3.0.1
|
121 |
-
zipp==3.17.0
|
|
|
1 |
+
torch
|
2 |
+
numpy
|
3 |
+
pandas
|
4 |
+
matplotlib
|
5 |
+
seaborn
|
6 |
+
torchvision
|
7 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|