bizvideoschool
commited on
Commit
•
72a8d36
1
Parent(s):
f8899e5
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import openai
|
|
4 |
# Access the OpenAI API key from Hugging Face Spaces secrets
|
5 |
openai.api_key = st.secrets["OPENAI_API_KEY"]
|
6 |
|
7 |
-
st.title("2024 Video Marketing Plan Generator
|
8 |
|
9 |
# Function to recommend classes based on video-making experience
|
10 |
def recommend_classes(video_experience):
|
@@ -186,7 +186,7 @@ if st.button('Generate My Video Marketing Plan and Class Recommendations'):
|
|
186 |
# Construct the prompt for text generation
|
187 |
prompt_text = (
|
188 |
f"Generate a 2024 video marketing plan for a {business_type} targeting an audience characterized as: {target_audience}. "
|
189 |
-
f"Include up to four video ideas for each month and 10 specific distribution strategies to maximize video views, "
|
190 |
f"based on current marketing efforts: {current_marketing}."
|
191 |
)
|
192 |
|
|
|
4 |
# Access the OpenAI API key from Hugging Face Spaces secrets
|
5 |
openai.api_key = st.secrets["OPENAI_API_KEY"]
|
6 |
|
7 |
+
st.title("2024 Video Marketing Plan Generator")
|
8 |
|
9 |
# Function to recommend classes based on video-making experience
|
10 |
def recommend_classes(video_experience):
|
|
|
186 |
# Construct the prompt for text generation
|
187 |
prompt_text = (
|
188 |
f"Generate a 2024 video marketing plan for a {business_type} targeting an audience characterized as: {target_audience}. "
|
189 |
+
f"Include up to four video ideas for each month of 2024. You will reply with ideas for each of the 12 months of the year and 10 specific distribution strategies to maximize video views, "
|
190 |
f"based on current marketing efforts: {current_marketing}."
|
191 |
)
|
192 |
|