Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
from gradio_client import Client
|
3 |
from utils import get_scenes, generate_video_assets, generate_video # Import the function from utils.py
|
4 |
|
@@ -20,11 +20,13 @@ st.video(example_video_path)
|
|
20 |
# Example script in an expandable section
|
21 |
with st.expander("📜 View Example Script"):
|
22 |
st.markdown("""
|
23 |
-
**Title:**
|
24 |
**Script:**
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
""")
|
29 |
|
30 |
# Text input box with a max of 1500 characters
|
|
|
1 |
+
import streamlit as st
|
2 |
from gradio_client import Client
|
3 |
from utils import get_scenes, generate_video_assets, generate_video # Import the function from utils.py
|
4 |
|
|
|
20 |
# Example script in an expandable section
|
21 |
with st.expander("📜 View Example Script"):
|
22 |
st.markdown("""
|
23 |
+
**Title:** Thirsty Crow (yep, the simplest example I came up with)
|
24 |
**Script:**
|
25 |
+
One hot summer day, a thirsty crow was flying in search of water. He looked everywhere, but he couldn't find a single drop. Tired and exhausted, he finally spotted a clay pot with a little water at the bottom.
|
26 |
+
|
27 |
+
The crow tried to reach the water, but his beak couldn’t go deep enough. He thought hard and came up with a clever idea. He picked up small pebbles one by one and dropped them into the pot. With each pebble, the water level slowly rose higher and higher.
|
28 |
+
|
29 |
+
Finally, after many pebbles, the water reached the top. The crow happily drank the water and flew away, refreshed and satisfied
|
30 |
""")
|
31 |
|
32 |
# Text input box with a max of 1500 characters
|