Skip to content

Commit

Permalink
final update
Browse files Browse the repository at this point in the history
  • Loading branch information
97DongHyeokOH committed Jul 28, 2023
1 parent ccb6f1d commit 7aab113
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Binary file added app/image_video/streamlit_after.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/image_video/streamlit_before.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
6 changes: 3 additions & 3 deletions app/frontend.py → app/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import streamlit as st
from PIL import Image

with open('frontend.css') as f :
with open('main.css') as f :
st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)

def new_font_tag(text, mode) :
Expand Down Expand Up @@ -49,13 +49,13 @@ def service_example():
before, mid, after, a, b, c = st.columns(6)

with before:
st.image('image_video/main_cat.jpg', caption='Before', use_column_width=True)
st.image('image_video/streamlit_before.jpg', caption='Before', use_column_width=True)

with mid:
st.image('image_video/mid.png', use_column_width=True)

with after:
st.image('image_video/main_cat.jpg', caption='After', use_column_width=True)
st.image('image_video/streamlit_after.jpg', caption='After', use_column_width=True)

def profile():
st.text("")
Expand Down
3 changes: 1 addition & 2 deletions app/pages/upload_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def check_size(img):

# select character
ver = ['최애의 아이','하울','명탐정 코난', '노진구', '홍시(홍시는 널 좋아해!)',
'단아(홍시는 널 좋아해!)', "이민지(프리드로우)", "한태성(프리드로우)", "공주영(연애혁명)", "왕자림(연애혁명)",
"메데이아(하루만 네가 되고 싶어)", "이아로스(하루만 네가 되고 싶어)"]
'단아(홍시는 널 좋아해!)', "메데이아(하루만 네가 되고 싶어)", "이아로스(하루만 네가 되고 싶어)"]

form = st.form(key='email')
selected = form.selectbox('변환하고 싶은 인물을 선택해주세요.', ver)
Expand Down

0 comments on commit 7aab113

Please sign in to comment.