Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
added dataset
Browse files- pages/dataset.py +7 -1
pages/dataset.py
CHANGED
|
@@ -6,6 +6,12 @@ import time
|
|
| 6 |
import os
|
| 7 |
from ruamel.yaml import YAML
|
| 8 |
import sys
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
preview_data = ["footwear","jewelry","apparel","beauty","housewares"]
|
| 10 |
yaml = YAML()
|
| 11 |
preview_contain = st.container()
|
|
@@ -41,7 +47,7 @@ with st.expander("Preview retail data samples",expanded = True):
|
|
| 41 |
else:
|
| 42 |
st.subheader("")
|
| 43 |
|
| 44 |
-
st.image(fileshort,
|
| 45 |
st.write(":orange["+payload['caption']+"]")
|
| 46 |
st.json(payload,expanded = True)
|
| 47 |
if(count == 4):
|
|
|
|
| 6 |
import os
|
| 7 |
from ruamel.yaml import YAML
|
| 8 |
import sys
|
| 9 |
+
st.set_page_config(
|
| 10 |
+
|
| 11 |
+
#page_title="Semantic Search using OpenSearch",
|
| 12 |
+
layout="wide",
|
| 13 |
+
page_icon="/home/ubuntu/images/opensearch_mark_default.png"
|
| 14 |
+
)
|
| 15 |
preview_data = ["footwear","jewelry","apparel","beauty","housewares"]
|
| 16 |
yaml = YAML()
|
| 17 |
preview_contain = st.container()
|
|
|
|
| 47 |
else:
|
| 48 |
st.subheader("")
|
| 49 |
|
| 50 |
+
st.image(fileshort,use_container_width="always")
|
| 51 |
st.write(":orange["+payload['caption']+"]")
|
| 52 |
st.json(payload,expanded = True)
|
| 53 |
if(count == 4):
|