Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- main.py +1 -1
Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ COPY pull06.sh pull06.sh
|
|
| 29 |
RUN /bin/bash -x pull06.sh
|
| 30 |
COPY pull8.sh pull8.sh
|
| 31 |
RUN /bin/bash -x pull8.sh
|
| 32 |
-
# COPY pull14.sh
|
| 33 |
# RUN /bin/bash -x pull14.sh
|
| 34 |
|
| 35 |
COPY requirements.txt requirements.txt
|
|
|
|
| 29 |
RUN /bin/bash -x pull06.sh
|
| 30 |
COPY pull8.sh pull8.sh
|
| 31 |
RUN /bin/bash -x pull8.sh
|
| 32 |
+
# COPY pull14.sh pull14.sh
|
| 33 |
# RUN /bin/bash -x pull14.sh
|
| 34 |
|
| 35 |
COPY requirements.txt requirements.txt
|
main.py
CHANGED
|
@@ -32,7 +32,7 @@ def ps():
|
|
| 32 |
ansver = []
|
| 33 |
|
| 34 |
response: ProcessResponse = ps()
|
| 35 |
-
|
| 36 |
ansver.append(f'Model: {model.model}')
|
| 37 |
ansver.append(f' Digest: {model.digest}')
|
| 38 |
ansver.append(f' Expires at: {model.expires_at}')
|
|
|
|
| 32 |
ansver = []
|
| 33 |
|
| 34 |
response: ProcessResponse = ps()
|
| 35 |
+
for model in response.models:
|
| 36 |
ansver.append(f'Model: {model.model}')
|
| 37 |
ansver.append(f' Digest: {model.digest}')
|
| 38 |
ansver.append(f' Expires at: {model.expires_at}')
|