Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,11 +63,15 @@ col1, col2 = st.columns([1, 2])
|
|
63 |
|
64 |
with col1:
|
65 |
st.markdown("<h2 style='text-align: center; color: black;'>Video Information</h2>", unsafe_allow_html=True)
|
66 |
-
video_title = st.text_input("Title of Video", placeholder="Enter the title of your video")
|
67 |
formality_level = st.selectbox("Formality Level", ["Casual", "Neutral", "Formal"])
|
68 |
emotional_tone = st.selectbox("Emotional Tone", ["Positive", "Neutral", "Humorous"])
|
69 |
engagement_level = st.selectbox("Engagement Level", ["Interactive", "Informative", "Persuasive"])
|
70 |
|
|
|
|
|
|
|
|
|
71 |
generate_button = col1.button('Generate Video Script')
|
72 |
|
73 |
if generate_button:
|
@@ -76,5 +80,4 @@ if generate_button:
|
|
76 |
else:
|
77 |
video_script = generate_video_script(video_title, formality_level, emotional_tone, engagement_level)
|
78 |
with col2:
|
79 |
-
st.markdown("<h2 style='text-align: center; color: black;'>Video Script</h2>", unsafe_allow_html=True)
|
80 |
st.write(video_script)
|
|
|
63 |
|
64 |
with col1:
|
65 |
st.markdown("<h2 style='text-align: center; color: black;'>Video Information</h2>", unsafe_allow_html=True)
|
66 |
+
video_title = st.text_input("Title of Video", placeholder="Enter the title of your video/video idea")
|
67 |
formality_level = st.selectbox("Formality Level", ["Casual", "Neutral", "Formal"])
|
68 |
emotional_tone = st.selectbox("Emotional Tone", ["Positive", "Neutral", "Humorous"])
|
69 |
engagement_level = st.selectbox("Engagement Level", ["Interactive", "Informative", "Persuasive"])
|
70 |
|
71 |
+
with col2:
|
72 |
+
st.markdown("<h2 style='text-align: center; color: black;'>Viral Script</h2>", unsafe_allow_html=True)
|
73 |
+
st.markdown('**Note:** Fill out the fields on the left, then click Generate')
|
74 |
+
|
75 |
generate_button = col1.button('Generate Video Script')
|
76 |
|
77 |
if generate_button:
|
|
|
80 |
else:
|
81 |
video_script = generate_video_script(video_title, formality_level, emotional_tone, engagement_level)
|
82 |
with col2:
|
|
|
83 |
st.write(video_script)
|