MackinationsAi commited on
Commit
8928c6c
·
verified ·
1 Parent(s): c9bc5ef

Delete pages

Browse files
Files changed (1) hide show
  1. pages/Gallery.py +0 -26
pages/Gallery.py DELETED
@@ -1,26 +0,0 @@
1
- import streamlit as st
2
- import os
3
- from PIL import Image
4
- import glob
5
-
6
- output_dir = "outputs"
7
- st.set_page_config(initial_sidebar_state="expanded", page_icon="static/sai_logo.ico", layout="centered")
8
-
9
- with st.sidebar:
10
- st.link_button("Stability.Ai _ API Documentation", "https://platform.stability.ai/docs/api-reference")
11
- with st.expander(("Image Generation Costs"), expanded=True):
12
- st.markdown((
13
- """
14
- - SD3 - 6.5 credits per image or $0.065
15
- - SD3 Turbo - 4.0 credits per image or $0.04
16
-
17
- Additional credits can be purchased via the account_page button below.
18
-
19
- Credits cost $10 per 1,000 credits, which is enough credits for roughly 154 SD3 images or 250 SD3 Turbo images.
20
- """
21
- ))
22
- st.link_button("Account_Page", "https://platform.stability.ai/account/credits")
23
- files = glob.glob(os.path.join(output_dir, '*'))
24
- for file in files:
25
- image = Image.open(file)
26
- st.image(image, caption=os.path.basename(file), use_column_width=True)