Spaces:
Sleeping
Sleeping
Commit
·
bf33dcc
1
Parent(s):
3a1f2a2
minor format fixes
Browse files- docs/privacy.html +1 -1
- src/app.py +6 -5
docs/privacy.html
CHANGED
|
@@ -49,4 +49,4 @@
|
|
| 49 |
|
| 50 |
<p>Our Privacy Policy was created with the help of the <a href="https://www.generateprivacypolicy.com">Privacy Policy Generator</a>.</p>
|
| 51 |
</body>
|
| 52 |
-
</html>
|
|
|
|
| 49 |
|
| 50 |
<p>Our Privacy Policy was created with the help of the <a href="https://www.generateprivacypolicy.com">Privacy Policy Generator</a>.</p>
|
| 51 |
</body>
|
| 52 |
+
</html>
|
src/app.py
CHANGED
|
@@ -93,13 +93,14 @@ def main():
|
|
| 93 |
|
| 94 |
# adding google analytics pixel
|
| 95 |
# only when deployed online. don't collect statistics of local usage
|
| 96 |
-
if
|
| 97 |
-
st.image(os.environ[
|
| 98 |
st.markdown(
|
| 99 |
(
|
| 100 |
-
"[Privacy policy]"
|
| 101 |
-
|
| 102 |
-
|
|
|
|
| 103 |
)
|
| 104 |
)
|
| 105 |
|
|
|
|
| 93 |
|
| 94 |
# adding google analytics pixel
|
| 95 |
# only when deployed online. don't collect statistics of local usage
|
| 96 |
+
if "GA" in os.environ:
|
| 97 |
+
st.image(os.environ["GA"])
|
| 98 |
st.markdown(
|
| 99 |
(
|
| 100 |
+
"[Privacy policy]"(
|
| 101 |
+
"(https://raw.githubusercontent.com/IliaLarchenko/albumentations-demo/"
|
| 102 |
+
+ "deploy/docs/privacy.html)"
|
| 103 |
+
)
|
| 104 |
)
|
| 105 |
)
|
| 106 |
|