Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -132,6 +132,10 @@ def main():
|
|
132 |
st.set_page_config(page_title="AI Voiceover", page_icon="🔮")
|
133 |
st.title("GPT4V AI Voiceover 🎥🔮")
|
134 |
st.text("Explore how GPT4V changes the way we voiceover videos.")
|
|
|
|
|
|
|
|
|
135 |
|
136 |
# Retrieve the OpenAI API key from environment
|
137 |
openai_key = os.getenv('OPENAI_API_KEY')
|
|
|
132 |
st.set_page_config(page_title="AI Voiceover", page_icon="🔮")
|
133 |
st.title("GPT4V AI Voiceover 🎥🔮")
|
134 |
st.text("Explore how GPT4V changes the way we voiceover videos.")
|
135 |
+
|
136 |
+
# Check password before proceeding
|
137 |
+
if not check_password():
|
138 |
+
return # Exit the function if the password check fails
|
139 |
|
140 |
# Retrieve the OpenAI API key from environment
|
141 |
openai_key = os.getenv('OPENAI_API_KEY')
|