Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,14 +117,14 @@ class GalleryApp:
|
|
| 117 |
st.write('**Seed**')
|
| 118 |
st.caption(f"{items['seed'][0]}")
|
| 119 |
|
| 120 |
-
# for tag as civitai, add civitai reference
|
| 121 |
-
if tag == 'civitai':
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
|
| 129 |
# with images:
|
| 130 |
selecters = st.columns([1, 1, 2, 0.5])
|
|
|
|
| 117 |
st.write('**Seed**')
|
| 118 |
st.caption(f"{items['seed'][0]}")
|
| 119 |
|
| 120 |
+
# # for tag as civitai, add civitai reference
|
| 121 |
+
# if tag == 'civitai':
|
| 122 |
+
# st.write('**Reference**')
|
| 123 |
+
#
|
| 124 |
+
# res = requests.get(f'https://civitai.com/images', params={'post_id': prompt_id})
|
| 125 |
+
# st.write(res)
|
| 126 |
+
# image_url = res.json()['items'][0]['url']
|
| 127 |
+
# st.image(image_url, use_column_width=True)
|
| 128 |
|
| 129 |
# with images:
|
| 130 |
selecters = st.columns([1, 1, 2, 0.5])
|