Spaces:
Running
Running
fix: render video with html
Browse files- 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.
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
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 |
+
""")
|