Spaces:
Runtime error
Runtime error
Commit
路
90c1ea7
1
Parent(s):
e8c2fdb
Update app.py
Browse files- app/streamlit/app.py +10 -1
app/streamlit/app.py
CHANGED
@@ -84,7 +84,16 @@ if prompt != "":
|
|
84 |
)
|
85 |
|
86 |
try:
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
st.button("Again!", key="again_button")
|
90 |
|
|
|
84 |
)
|
85 |
|
86 |
try:
|
87 |
+
backend_url = st.secrets["BACKEND_SERVER"]
|
88 |
+
#print(f"Getting selections: {prompt}")
|
89 |
+
#selected = get_images_from_backend(prompt, backend_url)
|
90 |
+
|
91 |
+
margin = 0.1 # for better position of zoom in arrow
|
92 |
+
n_columns = 3
|
93 |
+
#cols = st.columns([1] + [margin, 1] * (n_columns - 1))
|
94 |
+
#for i, img in enumerate(selected):
|
95 |
+
# cols[(i % n_columns) * 2].image(img)
|
96 |
+
#container.markdown(f"**{prompt}**")
|
97 |
|
98 |
st.button("Again!", key="again_button")
|
99 |
|