Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,18 +10,18 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token=hf_token)
|
|
10 |
|
11 |
# Story genres with genre-specific example prompts
|
12 |
GENRE_EXAMPLES = {
|
13 |
-
"fairy_tale": [
|
14 |
-
"I follow the shimmer of fairy dust into a hidden forest"
|
15 |
-
"I meet a talking rabbit who claims to know a secret about the king’s lost crown"
|
16 |
-
"A tiny dragon appears at my window, asking for help to find its mother"
|
17 |
-
"I step into a clearing where the trees whisper ancient riddles"
|
18 |
-
"A friendly witch invites me into her cozy cottage, offering a warm cup of tea"
|
19 |
-
],
|
20 |
"fantasy": [
|
21 |
"I enter the ancient forest seeking the wizard's tower",
|
22 |
"I approach the dragon cautiously with my shield raised",
|
23 |
"I examine the mysterious runes carved into the stone altar",
|
24 |
"I try to bargain with the elven council for safe passage"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
],
|
26 |
"sci-fi": [
|
27 |
"I hack into the space station's mainframe",
|
|
|
10 |
|
11 |
# Story genres with genre-specific example prompts
|
12 |
GENRE_EXAMPLES = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
"fantasy": [
|
14 |
"I enter the ancient forest seeking the wizard's tower",
|
15 |
"I approach the dragon cautiously with my shield raised",
|
16 |
"I examine the mysterious runes carved into the stone altar",
|
17 |
"I try to bargain with the elven council for safe passage"
|
18 |
+
],
|
19 |
+
"fairy tale": [
|
20 |
+
"I follow the shimmer of fairy dust into a hidden forest",
|
21 |
+
"I meet a talking rabbit who claims to know a secret about the king’s lost crown",
|
22 |
+
"A tiny dragon appears at my window, asking for help to find its mother",
|
23 |
+
"I step into a clearing where the trees whisper ancient riddles",
|
24 |
+
"A friendly witch invites me into her cozy cottage, offering a warm cup of tea"
|
25 |
],
|
26 |
"sci-fi": [
|
27 |
"I hack into the space station's mainframe",
|