Spaces:
Paused
Paused
Removed mypkg from requirements, since it was causing problems.
Browse filesIt shouldn't be necessary to put it in requirements.txt anyway.
- requirements.txt +0 -1
- static/css/main.css +8 -0
- templates/index.html +5 -0
requirements.txt
CHANGED
|
@@ -8,7 +8,6 @@ Jinja2==3.1.2
|
|
| 8 |
lazy-object-proxy==1.8.0
|
| 9 |
MarkupSafe==2.1.1
|
| 10 |
mccabe==0.7.0
|
| 11 |
-
-e git+https://huggingface.co/spaces/cm107/test_flask_space.git#egg=mypkg
|
| 12 |
numpy==1.23.5
|
| 13 |
opencv-python==4.6.0.66
|
| 14 |
Pillow==9.3.0
|
|
|
|
| 8 |
lazy-object-proxy==1.8.0
|
| 9 |
MarkupSafe==2.1.1
|
| 10 |
mccabe==0.7.0
|
|
|
|
| 11 |
numpy==1.23.5
|
| 12 |
opencv-python==4.6.0.66
|
| 13 |
Pillow==9.3.0
|
static/css/main.css
CHANGED
|
@@ -53,4 +53,12 @@ body {
|
|
| 53 |
#pkg_version {
|
| 54 |
color: purple;
|
| 55 |
font-size: large;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
}
|
|
|
|
| 53 |
#pkg_version {
|
| 54 |
color: purple;
|
| 55 |
font-size: large;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
code {
|
| 59 |
+
color: greenyellow;
|
| 60 |
+
background-color: black;
|
| 61 |
+
border: 1px solid greenyellow;
|
| 62 |
+
display: block;
|
| 63 |
+
padding: 20px;
|
| 64 |
}
|
templates/index.html
CHANGED
|
@@ -31,6 +31,11 @@
|
|
| 31 |
<div id="pkg_version">
|
| 32 |
<p style="display:inline-block">Version</p>: {{ mypkg_version }}
|
| 33 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
<h1>Navigation</h1>
|
| 36 |
<ul>
|
|
|
|
| 31 |
<div id="pkg_version">
|
| 32 |
<p style="display:inline-block">Version</p>: {{ mypkg_version }}
|
| 33 |
</div>
|
| 34 |
+
Feel free to install this package using:
|
| 35 |
+
<br>
|
| 36 |
+
<code class="language-bash">
|
| 37 |
+
pip install -e git+https://huggingface.co/spaces/cm107/test_flask_space.git#egg=mypkg
|
| 38 |
+
</code>
|
| 39 |
|
| 40 |
<h1>Navigation</h1>
|
| 41 |
<ul>
|