habib926653 commited on
Commit
5055d84
·
verified ·
1 Parent(s): 1b0d4d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -1,4 +1,4 @@
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,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:** The Lost Book
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