openfree commited on
Commit
f6771ec
ยท
verified ยท
1 Parent(s): 02ac8b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -161,7 +161,7 @@ interactions = pxt.create_table(
161
  'timestamp': pxt.Timestamp,
162
  'player_stats': pxt.String,
163
  'random_event': pxt.String,
164
- 'use_fallback': pxt.Boolean,
165
  'fallback_story': pxt.String,
166
  'fallback_stats': pxt.String,
167
  'fallback_options': pxt.String
@@ -482,12 +482,12 @@ def create_interface():
482
  gr.Examples(
483
  examples=[
484
  ["Admiral Yi", "๐Ÿง™โ€โ™‚๏ธ Fantasy", "You wake up at the edge of a forgotten mystical forest. In the distance, you can see castle spires, and in your mind remains only the clue about ancient magic threatening the kingdom. Suddenly, you see a strange light coming from the forest..."],
485
- ["Ji-Young Kim", "๐Ÿš€ Sci-Fi", "As the navigator of the starship 'Horizon', you wake up to an emergency alarm during the exploration of an unknown planet. Contact with the captain has been lost, and life support systems are gradually failing. You hear strange footsteps in the quiet ship..."],
486
  ["Elon Musk", "๐Ÿค– Cyberpunk", "Seoul, 2077. You are the CEO of Neural Link Industries. Your latest brain-computer interface technology has started giving users an unexpected ability - they can communicate with their houseplants. As you prepare for a major investor presentation, your AI assistant reports that test participants are organizing a mysterious 'plant revolution'..."],
487
  ["Gordon Ramsay", "๐ŸŒ‹ Post-Apocalyptic", "You are the last master chef in New Seoul, running an underground restaurant in the ruins of an old luxury hotel. Your signature dish requires a rare mushroom that only grows in dangerous radioactive zones. While preparing for tonight's secret gathering, your scout returns with ominous news about rival chef gangs in the area..."],
488
- ["Jung-Ho Yoo", "๐Ÿ‘ป Horror", "You came to a secluded cabin in the forest for the weekend at your friend's invitation. On the first night, you are drawn into the forest by a strange light visible through the window. As you try to find your way back, you can't see the cabin, and unfamiliar fog grows thicker. In the distance, you hear someoneโ€”no, something calling you..."],
489
- ["Detective Park", "๐Ÿ” Mystery", "As a rookie detective, your first case is the mysterious disappearance of the CEO of the city's top tech company. There's no blood in his office, and the only clues are an encrypted note on the desk and his powered-down cutting-edge AI assistant. As you begin your investigation, you hear about a secret project the CEO was working on..."],
490
- ["Min-Su Lee", "โš™๏ธ Steampunk", "In New Joseon, filled with steam and gears, you are an innovative airship designer. During a demonstration of your latest invention, a government secret agent approaches with a secret mission for the imperial family in danger. Underground groups are threatening the throne, and your invention is the royal family's only hope..."]
491
  ],
492
  inputs=[player_name, genre, scenario]
493
  )
 
161
  'timestamp': pxt.Timestamp,
162
  'player_stats': pxt.String,
163
  'random_event': pxt.String,
164
+ 'use_fallback': pxt.Bool, # Changed from Boolean to Bool
165
  'fallback_story': pxt.String,
166
  'fallback_stats': pxt.String,
167
  'fallback_options': pxt.String
 
482
  gr.Examples(
483
  examples=[
484
  ["Admiral Yi", "๐Ÿง™โ€โ™‚๏ธ Fantasy", "You wake up at the edge of a forgotten mystical forest. In the distance, you can see castle spires, and in your mind remains only the clue about ancient magic threatening the kingdom. Suddenly, you see a strange light coming from the forest..."],
485
+ ["Trump", "๐Ÿš€ Sci-Fi", "As the navigator of the starship 'Horizon', you wake up to an emergency alarm during the exploration of an unknown planet. Contact with the captain has been lost, and life support systems are gradually failing. You hear strange footsteps in the quiet ship..."],
486
  ["Elon Musk", "๐Ÿค– Cyberpunk", "Seoul, 2077. You are the CEO of Neural Link Industries. Your latest brain-computer interface technology has started giving users an unexpected ability - they can communicate with their houseplants. As you prepare for a major investor presentation, your AI assistant reports that test participants are organizing a mysterious 'plant revolution'..."],
487
  ["Gordon Ramsay", "๐ŸŒ‹ Post-Apocalyptic", "You are the last master chef in New Seoul, running an underground restaurant in the ruins of an old luxury hotel. Your signature dish requires a rare mushroom that only grows in dangerous radioactive zones. While preparing for tonight's secret gathering, your scout returns with ominous news about rival chef gangs in the area..."],
488
+ ["Sonic", "๐Ÿ‘ป Horror", "You came to a secluded cabin in the forest for the weekend at your friend's invitation. On the first night, you are drawn into the forest by a strange light visible through the window. As you try to find your way back, you can't see the cabin, and unfamiliar fog grows thicker. In the distance, you hear someoneโ€”no, something calling you..."],
489
+ ["Picatsu", "๐Ÿ” Mystery", "As a rookie detective, your first case is the mysterious disappearance of the CEO of the city's top tech company. There's no blood in his office, and the only clues are an encrypted note on the desk and his powered-down cutting-edge AI assistant. As you begin your investigation, you hear about a secret project the CEO was working on..."],
490
+ ["Dooly", "โš™๏ธ Steampunk", "In New Joseon, filled with steam and gears, you are an innovative airship designer. During a demonstration of your latest invention, a government secret agent approaches with a secret mission for the imperial family in danger. Underground groups are threatening the throne, and your invention is the royal family's only hope..."]
491
  ],
492
  inputs=[player_name, genre, scenario]
493
  )