Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
import json
|
|
|
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
from urllib.parse import quote # Ensure this import is included
|
| 6 |
|
|
@@ -33,9 +35,9 @@ with st.expander("Help / About 📚", expanded=False):
|
|
| 33 |
# -----------------------------------------------------------------Art Card Sidebar:
|
| 34 |
# Get this from paste into markdown feature
|
| 35 |
#image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/G_GkRD_IT3f14K7gWlbwi.png"
|
| 36 |
-
image_url2 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/gikaT871Mm8k6wuv4pl_g.png"
|
| 37 |
-
image_url3 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/gv1xmIiXh1NGTeeV-cYF2.png"
|
| 38 |
-
image_url4 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/2YsnDyc_nDNW71PPKozdN.png"
|
| 39 |
#image_url5 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/eGii5DvGIuCtWCU08_i-D.png"
|
| 40 |
#image_url6 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/2-KfxcuXRcTFiHf4XlNsX.png"
|
| 41 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
import json
|
| 4 |
+
import random
|
| 5 |
+
|
| 6 |
from PIL import Image
|
| 7 |
from urllib.parse import quote # Ensure this import is included
|
| 8 |
|
|
|
|
| 35 |
# -----------------------------------------------------------------Art Card Sidebar:
|
| 36 |
# Get this from paste into markdown feature
|
| 37 |
#image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/G_GkRD_IT3f14K7gWlbwi.png"
|
| 38 |
+
#image_url2 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/gikaT871Mm8k6wuv4pl_g.png"
|
| 39 |
+
#image_url3 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/gv1xmIiXh1NGTeeV-cYF2.png"
|
| 40 |
+
#image_url4 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/2YsnDyc_nDNW71PPKozdN.png"
|
| 41 |
#image_url5 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/eGii5DvGIuCtWCU08_i-D.png"
|
| 42 |
#image_url6 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/2-KfxcuXRcTFiHf4XlNsX.png"
|
| 43 |
|