JamesKim commited on
Commit
434bb37
β€’
1 Parent(s): 77f16cd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def main():
72
  st.set_page_config(page_title="Avatar Generation")
73
  st.header("Artistic Avatar Generation πŸ’–")
74
 
75
- api_key = st.text_input("Enter your OpenAI API key:")
76
  openai.api_key = api_key
77
 
78
  mode = st.radio("Choose your option", ("Upload photo by file", "Upload photo by url"))
 
72
  st.set_page_config(page_title="Avatar Generation")
73
  st.header("Artistic Avatar Generation πŸ’–")
74
 
75
+ api_key = st.text_input("Enter your OpenAI API key:", type="password")
76
  openai.api_key = api_key
77
 
78
  mode = st.radio("Choose your option", ("Upload photo by file", "Upload photo by url"))