gsavin commited on
Commit
e852141
ยท
1 Parent(s): 75b79a9

fix: render video with html

Browse files
Files changed (1) hide show
  1. src/app_description.py +36 -33
src/app_description.py CHANGED
@@ -1,36 +1,39 @@
1
  import gradio as gr
2
 
3
  def app_description():
4
- gr.Markdown("""
5
- # ๐ŸŽฎ LLMGameHub - Your Personal Visual Novel
6
-
7
- **Craft your own adventures with an AI-powered game master!**
8
-
9
- ๐ŸŽฅ [Video Demo](https://youtu.be/pQfP9lA1QUM)
10
-
11
- This application is an interactive storytelling experience where you are the author. Create a unique world, design your character, and let our AI agent weave a narrative tailored to your choices. It's a blend of a game constructor and a visual novel, powered by generative AI.
12
-
13
- ## ๐ŸŽฏ Key Features
14
- - **๐Ÿค– AI Game Master**: An intelligent agent that generates a dynamic story with branching narratives based on your inputs.
15
- - **๐ŸŽจ World Building**: Define your own game setting, from fantasy realms to sci-fi dystopias.
16
- - **๐Ÿ‘ค Character Creation**: Customize your protagonist's name, age, background, and personality.
17
- - **๐ŸŽญ Genre Selection**: Choose from a variety of genres to set the tone of your story (e.g., Fantasy, Sci-Fi, Mystery).
18
- - **๐Ÿ–ผ๏ธ Visual & Audio Experience**: The AI generates images and background music to accompany the scenes, immersing you in the story.
19
- - **โœ๏ธ Interactive Choices**: Guide the narrative by selecting from AI-generated options or writing your own custom actions.
20
-
21
- ## ๐Ÿ› ๏ธ How It Works
22
-
23
- 1. **Construct Your World**: Use the forms to describe the setting and your character.
24
- 2. **Choose a Genre**: Select the style of your adventure.
25
- 3. **Start the Game**: The AI will generate the opening scene based on your setup.
26
- 4. **Make Your Choices**: Interact with the story by choosing from a list of actions or writing your own.
27
- 5. **Experience Your Story**: Watch as the AI dynamically creates a unique story with text and images just for you.
28
-
29
- ## ๐Ÿ“Š Agent Demo
30
- This Space showcases **intelligent agent capabilities for creative writing**:
31
- - Dynamic story and scene generation.
32
- - Contextual understanding of player choices.
33
- - AI-powered generation of text, images, and music.
34
-
35
- ---
36
- """)
 
 
 
 
1
  import gradio as gr
2
 
3
  def app_description():
4
+ with gr.Column():
5
+ gr.Markdown("""
6
+ # ๐ŸŽฎ LLMGameHub - Your Personal Visual Novel
7
+
8
+ **Craft your own adventures with an AI-powered game master!**
9
+
10
+ ๐ŸŽฅ [Video Demo](https://youtu.be/pQfP9lA1QUM)
11
+ """)
12
+ gr.HTML("""<iframe width="560" height="315" src="https://www.youtube.com/embed/pQfP9lA1QUM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>""")
13
+ gr.Markdown("""
14
+ This application is an interactive storytelling experience where you are the author. Create a unique world, design your character, and let our AI agent weave a narrative tailored to your choices. It's a blend of a game constructor and a visual novel, powered by generative AI.
15
+
16
+ ## ๐ŸŽฏ Key Features
17
+ - **๐Ÿค– AI Game Master**: An intelligent agent that generates a dynamic story with branching narratives based on your inputs.
18
+ - **๐ŸŽจ World Building**: Define your own game setting, from fantasy realms to sci-fi dystopias.
19
+ - **๐Ÿ‘ค Character Creation**: Customize your protagonist's name, age, background, and personality.
20
+ - **๐ŸŽญ Genre Selection**: Choose from a variety of genres to set the tone of your story (e.g., Fantasy, Sci-Fi, Mystery).
21
+ - **๐Ÿ–ผ๏ธ Visual & Audio Experience**: The AI generates images and background music to accompany the scenes, immersing you in the story.
22
+ - **โœ๏ธ Interactive Choices**: Guide the narrative by selecting from AI-generated options or writing your own custom actions.
23
+
24
+ ## ๐Ÿ› ๏ธ How It Works
25
+
26
+ 1. **Construct Your World**: Use the forms to describe the setting and your character.
27
+ 2. **Choose a Genre**: Select the style of your adventure.
28
+ 3. **Start the Game**: The AI will generate the opening scene based on your setup.
29
+ 4. **Make Your Choices**: Interact with the story by choosing from a list of actions or writing your own.
30
+ 5. **Experience Your Story**: Watch as the AI dynamically creates a unique story with text and images just for you.
31
+
32
+ ## ๐Ÿ“Š Agent Demo
33
+ This Space showcases **intelligent agent capabilities for creative writing**:
34
+ - Dynamic story and scene generation.
35
+ - Contextual understanding of player choices.
36
+ - AI-powered generation of text, images, and music.
37
+
38
+ ---
39
+ """)