csncsn commited on
Commit
9b867fb
1 Parent(s): 5fdbbe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -3,13 +3,11 @@ import os
3
  # os.system('pip install -e src/taming-transformers/.')
4
  # os.system('pip install -e src/clip/.')
5
  # os.system('pip install -e .')
6
- from scripts.stable_txt2img import main
7
- # st.title('AI Gen for SG')
8
  st.markdown("<h1 style='text-align: center; color: orange;'>AI Gen for SG</h1>", unsafe_allow_html=True)
9
  st.markdown("<h3 style='text-align: center; color: black;'>ShowLab</h3>", unsafe_allow_html=True)
10
  st.write('Contributors: Mike Zheng Shou, Shuning Chang, Yufei Shi, Zihan Fan, Xiangdong Zhou')
11
- text = st.text_input('Enter your prompt', value='', key=None)
12
- img = main(text)
13
- # st.write(text)
14
- if text:
15
- st.image(img, caption=text)
 
3
  # os.system('pip install -e src/taming-transformers/.')
4
  # os.system('pip install -e src/clip/.')
5
  # os.system('pip install -e .')
6
+ # from scripts.stable_txt2img import main
 
7
  st.markdown("<h1 style='text-align: center; color: orange;'>AI Gen for SG</h1>", unsafe_allow_html=True)
8
  st.markdown("<h3 style='text-align: center; color: black;'>ShowLab</h3>", unsafe_allow_html=True)
9
  st.write('Contributors: Mike Zheng Shou, Shuning Chang, Yufei Shi, Zihan Fan, Xiangdong Zhou')
10
+ # text = st.text_input('Enter your prompt', value='', key=None)
11
+ # img = main(text)
12
+ # if text:
13
+ # st.image(img, caption=text)