thinh-researcher commited on
Commit
76322af
·
1 Parent(s): f092df4

[Upgrade] app.py

Browse files
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +2 -2
  3. requirements-lock.txt +103 -0
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
  title: Dptdepth
3
  emoji: 🔥
4
- colorFrom: yellow
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 3.23.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
1
  ---
2
  title: Dptdepth
3
  emoji: 🔥
4
+ colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 4.12.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -10,10 +10,10 @@ examples = prepare_samples()
10
  demo = gr.Interface(
11
  fn=inference,
12
  inputs=[
13
- gr.inputs.Image(label="RGB", type="pil"),
14
  ],
15
  outputs=[
16
- gr.outputs.Image(label="Prediction", type="pil"),
17
  ],
18
  title=TITLE,
19
  examples=examples,
 
10
  demo = gr.Interface(
11
  fn=inference,
12
  inputs=[
13
+ gr.Image(label="RGB", type="pil"),
14
  ],
15
  outputs=[
16
+ gr.Image(label="Prediction", type="pil"),
17
  ],
18
  title=TITLE,
19
  examples=examples,
requirements-lock.txt ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerate==0.25.0
2
+ aiofiles==23.2.1
3
+ aiohttp==3.9.1
4
+ aiosignal==1.3.1
5
+ altair==5.2.0
6
+ annotated-types==0.6.0
7
+ anyio==4.2.0
8
+ async-timeout==4.0.3
9
+ attrs==23.2.0
10
+ certifi==2023.11.17
11
+ charset-normalizer==3.3.2
12
+ click==8.1.7
13
+ colorama==0.4.6
14
+ contourpy==1.2.0
15
+ cycler==0.12.1
16
+ datasets==2.16.1
17
+ dill==0.3.7
18
+ exceptiongroup==1.2.0
19
+ fastapi==0.108.0
20
+ ffmpy==0.3.1
21
+ filelock==3.13.1
22
+ fonttools==4.47.0
23
+ frozenlist==1.4.1
24
+ fsspec==2023.10.0
25
+ gradio==4.12.0
26
+ gradio_client==0.8.0
27
+ h11==0.14.0
28
+ httpcore==1.0.2
29
+ httpx==0.26.0
30
+ huggingface-hub==0.20.1
31
+ idna==3.6
32
+ importlib-resources==6.1.1
33
+ Jinja2==3.1.2
34
+ jsonschema==4.20.0
35
+ jsonschema-specifications==2023.12.1
36
+ kiwisolver==1.4.5
37
+ markdown-it-py==3.0.0
38
+ MarkupSafe==2.1.3
39
+ matplotlib==3.8.2
40
+ mdurl==0.1.2
41
+ mpmath==1.3.0
42
+ multidict==6.0.4
43
+ multiprocess==0.70.15
44
+ networkx==3.2.1
45
+ numpy==1.26.3
46
+ nvidia-cublas-cu12==12.1.3.1
47
+ nvidia-cuda-cupti-cu12==12.1.105
48
+ nvidia-cuda-nvrtc-cu12==12.1.105
49
+ nvidia-cuda-runtime-cu12==12.1.105
50
+ nvidia-cudnn-cu12==8.9.2.26
51
+ nvidia-cufft-cu12==11.0.2.54
52
+ nvidia-curand-cu12==10.3.2.106
53
+ nvidia-cusolver-cu12==11.4.5.107
54
+ nvidia-cusparse-cu12==12.1.0.106
55
+ nvidia-nccl-cu12==2.18.1
56
+ nvidia-nvjitlink-cu12==12.3.101
57
+ nvidia-nvtx-cu12==12.1.105
58
+ opencv-python==4.9.0.80
59
+ orjson==3.9.10
60
+ packaging==23.2
61
+ pandas==2.1.4
62
+ pillow==10.2.0
63
+ psutil==5.9.7
64
+ pyarrow==14.0.2
65
+ pyarrow-hotfix==0.6
66
+ pydantic==2.5.3
67
+ pydantic_core==2.14.6
68
+ pydub==0.25.1
69
+ Pygments==2.17.2
70
+ pyparsing==3.1.1
71
+ python-dateutil==2.8.2
72
+ python-multipart==0.0.6
73
+ pytz==2023.3.post1
74
+ PyYAML==6.0.1
75
+ referencing==0.32.0
76
+ regex==2023.12.25
77
+ requests==2.31.0
78
+ rich==13.7.0
79
+ rpds-py==0.16.2
80
+ safetensors==0.4.1
81
+ semantic-version==2.10.0
82
+ shellingham==1.5.4
83
+ six==1.16.0
84
+ sniffio==1.3.0
85
+ starlette==0.32.0.post1
86
+ sympy==1.12
87
+ timm==0.9.12
88
+ tokenizers==0.15.0
89
+ tomlkit==0.12.0
90
+ toolz==0.12.0
91
+ torch==2.1.2
92
+ torchvision==0.16.2
93
+ tqdm==4.66.1
94
+ transformers==4.36.2
95
+ triton==2.1.0
96
+ typer==0.9.0
97
+ typing_extensions==4.9.0
98
+ tzdata==2023.4
99
+ urllib3==2.1.0
100
+ uvicorn==0.25.0
101
+ websockets==11.0.3
102
+ xxhash==3.4.1
103
+ yarl==1.9.4