Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +6 -2
- coverage.xml +21 -21
- test-results.xml +0 -0
Dockerfile
CHANGED
|
@@ -18,11 +18,15 @@ RUN pip install --no-cache-dir -r requirements.txt \
|
|
| 18 |
&& rm -rf /root/.cache \
|
| 19 |
&& rm -rf /tmp/*
|
| 20 |
|
| 21 |
-
# Copy the warbler_cda module
|
| 22 |
COPY warbler_cda/ ./warbler_cda/
|
| 23 |
-
|
|
|
|
| 24 |
COPY start_server.py ./
|
| 25 |
|
|
|
|
|
|
|
|
|
|
| 26 |
# Set environment variables for HuggingFace Spaces
|
| 27 |
ENV PYTHONPATH=/app
|
| 28 |
ENV PYTHONUNBUFFERED=1
|
|
|
|
| 18 |
&& rm -rf /root/.cache \
|
| 19 |
&& rm -rf /tmp/*
|
| 20 |
|
| 21 |
+
# Copy the warbler_cda module
|
| 22 |
COPY warbler_cda/ ./warbler_cda/
|
| 23 |
+
|
| 24 |
+
# Copy server startup script
|
| 25 |
COPY start_server.py ./
|
| 26 |
|
| 27 |
+
# Create packs directory (will be populated on first run)
|
| 28 |
+
RUN mkdir -p ./packs
|
| 29 |
+
|
| 30 |
# Set environment variables for HuggingFace Spaces
|
| 31 |
ENV PYTHONPATH=/app
|
| 32 |
ENV PYTHONUNBUFFERED=1
|
coverage.xml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
<?xml version="1.0" ?>
|
| 2 |
-
<coverage version="7.12.0" timestamp="
|
| 3 |
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.12.0 -->
|
| 4 |
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
|
| 5 |
<sources>
|
| 6 |
<source>/builds/tiny-walnut-games/the-seed/warbler-cda-package/warbler_cda</source>
|
| 7 |
</sources>
|
| 8 |
<packages>
|
| 9 |
-
<package name="." line-rate="0.
|
| 10 |
<classes>
|
| 11 |
<class name="__init__.py" filename="__init__.py" complexity="0" line-rate="0.6786" branch-rate="0">
|
| 12 |
<methods/>
|
|
@@ -965,7 +965,7 @@
|
|
| 965 |
<line number="664" hits="1"/>
|
| 966 |
</lines>
|
| 967 |
</class>
|
| 968 |
-
<class name="evaporation.py" filename="evaporation.py" complexity="0" line-rate="0.
|
| 969 |
<methods/>
|
| 970 |
<lines>
|
| 971 |
<line number="3" hits="1"/>
|
|
@@ -1053,11 +1053,11 @@
|
|
| 1053 |
<line number="171" hits="1"/>
|
| 1054 |
<line number="172" hits="1"/>
|
| 1055 |
<line number="173" hits="1"/>
|
| 1056 |
-
<line number="174" hits="
|
| 1057 |
-
<line number="175" hits="
|
| 1058 |
<line number="176" hits="0"/>
|
| 1059 |
-
<line number="177" hits="
|
| 1060 |
-
<line number="178" hits="
|
| 1061 |
<line number="180" hits="0"/>
|
| 1062 |
<line number="183" hits="1"/>
|
| 1063 |
<line number="184" hits="1"/>
|
|
@@ -1083,14 +1083,14 @@
|
|
| 1083 |
<line number="224" hits="1"/>
|
| 1084 |
<line number="226" hits="0"/>
|
| 1085 |
<line number="228" hits="1"/>
|
| 1086 |
-
<line number="230" hits="
|
| 1087 |
<line number="231" hits="0"/>
|
| 1088 |
-
<line number="234" hits="
|
| 1089 |
-
<line number="240" hits="
|
| 1090 |
-
<line number="242" hits="
|
| 1091 |
-
<line number="243" hits="
|
| 1092 |
-
<line number="245" hits="
|
| 1093 |
-
<line number="246" hits="
|
| 1094 |
<line number="248" hits="0"/>
|
| 1095 |
<line number="250" hits="1"/>
|
| 1096 |
<line number="252" hits="0"/>
|
|
@@ -1103,14 +1103,14 @@
|
|
| 1103 |
<line number="268" hits="0"/>
|
| 1104 |
<line number="270" hits="0"/>
|
| 1105 |
<line number="272" hits="1"/>
|
| 1106 |
-
<line number="274" hits="
|
| 1107 |
<line number="275" hits="0"/>
|
| 1108 |
-
<line number="278" hits="
|
| 1109 |
-
<line number="284" hits="
|
| 1110 |
-
<line number="291" hits="
|
| 1111 |
-
<line number="292" hits="
|
| 1112 |
-
<line number="294" hits="
|
| 1113 |
-
<line number="295" hits="
|
| 1114 |
<line number="297" hits="0"/>
|
| 1115 |
<line number="299" hits="1"/>
|
| 1116 |
<line number="301" hits="1"/>
|
|
|
|
| 1 |
<?xml version="1.0" ?>
|
| 2 |
+
<coverage version="7.12.0" timestamp="1764711627113" lines-valid="5038" lines-covered="3853" line-rate="0.7648" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
|
| 3 |
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.12.0 -->
|
| 4 |
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
|
| 5 |
<sources>
|
| 6 |
<source>/builds/tiny-walnut-games/the-seed/warbler-cda-package/warbler_cda</source>
|
| 7 |
</sources>
|
| 8 |
<packages>
|
| 9 |
+
<package name="." line-rate="0.8338" branch-rate="0" complexity="0">
|
| 10 |
<classes>
|
| 11 |
<class name="__init__.py" filename="__init__.py" complexity="0" line-rate="0.6786" branch-rate="0">
|
| 12 |
<methods/>
|
|
|
|
| 965 |
<line number="664" hits="1"/>
|
| 966 |
</lines>
|
| 967 |
</class>
|
| 968 |
+
<class name="evaporation.py" filename="evaporation.py" complexity="0" line-rate="0.7902" branch-rate="0">
|
| 969 |
<methods/>
|
| 970 |
<lines>
|
| 971 |
<line number="3" hits="1"/>
|
|
|
|
| 1053 |
<line number="171" hits="1"/>
|
| 1054 |
<line number="172" hits="1"/>
|
| 1055 |
<line number="173" hits="1"/>
|
| 1056 |
+
<line number="174" hits="1"/>
|
| 1057 |
+
<line number="175" hits="0"/>
|
| 1058 |
<line number="176" hits="0"/>
|
| 1059 |
+
<line number="177" hits="0"/>
|
| 1060 |
+
<line number="178" hits="0"/>
|
| 1061 |
<line number="180" hits="0"/>
|
| 1062 |
<line number="183" hits="1"/>
|
| 1063 |
<line number="184" hits="1"/>
|
|
|
|
| 1083 |
<line number="224" hits="1"/>
|
| 1084 |
<line number="226" hits="0"/>
|
| 1085 |
<line number="228" hits="1"/>
|
| 1086 |
+
<line number="230" hits="1"/>
|
| 1087 |
<line number="231" hits="0"/>
|
| 1088 |
+
<line number="234" hits="1"/>
|
| 1089 |
+
<line number="240" hits="1"/>
|
| 1090 |
+
<line number="242" hits="1"/>
|
| 1091 |
+
<line number="243" hits="1"/>
|
| 1092 |
+
<line number="245" hits="1"/>
|
| 1093 |
+
<line number="246" hits="1"/>
|
| 1094 |
<line number="248" hits="0"/>
|
| 1095 |
<line number="250" hits="1"/>
|
| 1096 |
<line number="252" hits="0"/>
|
|
|
|
| 1103 |
<line number="268" hits="0"/>
|
| 1104 |
<line number="270" hits="0"/>
|
| 1105 |
<line number="272" hits="1"/>
|
| 1106 |
+
<line number="274" hits="0"/>
|
| 1107 |
<line number="275" hits="0"/>
|
| 1108 |
+
<line number="278" hits="0"/>
|
| 1109 |
+
<line number="284" hits="0"/>
|
| 1110 |
+
<line number="291" hits="0"/>
|
| 1111 |
+
<line number="292" hits="0"/>
|
| 1112 |
+
<line number="294" hits="0"/>
|
| 1113 |
+
<line number="295" hits="0"/>
|
| 1114 |
<line number="297" hits="0"/>
|
| 1115 |
<line number="299" hits="1"/>
|
| 1116 |
<line number="301" hits="1"/>
|
test-results.xml
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|