bizvideoschool
commited on
Commit
•
f11a5bd
1
Parent(s):
c48ce42
Update app.py
Browse files
app.py
CHANGED
@@ -41,10 +41,11 @@ if st.button('Generate My Video Marketing Plan'):
|
|
41 |
{"role": "user", "content": prompt_text}
|
42 |
]
|
43 |
)
|
44 |
-
marketing_plan = response_text.choices[0]
|
45 |
except Exception as e:
|
46 |
marketing_plan = f"Error in generating marketing plan: {e}"
|
47 |
|
48 |
# Display the marketing plan
|
49 |
st.markdown("### Your Customized Video Marketing Plan")
|
50 |
st.write(marketing_plan)
|
|
|
|
41 |
{"role": "user", "content": prompt_text}
|
42 |
]
|
43 |
)
|
44 |
+
marketing_plan = response_text.choices[0].message['content']
|
45 |
except Exception as e:
|
46 |
marketing_plan = f"Error in generating marketing plan: {e}"
|
47 |
|
48 |
# Display the marketing plan
|
49 |
st.markdown("### Your Customized Video Marketing Plan")
|
50 |
st.write(marketing_plan)
|
51 |
+
|