password
Browse files
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"))
|