Spaces:
Runtime error
Runtime error
Update starter sample.
Browse files- SampleCard.png +0 -0
- app.py +23 -16
- placeholder.png +0 -0
SampleCard.png
CHANGED
app.py
CHANGED
@@ -372,31 +372,38 @@ def transcribe(audio: str) -> (str, str):
|
|
372 |
return result["text"], None
|
373 |
|
374 |
|
375 |
-
starting_text = """Name:
|
376 |
-
Type:
|
377 |
-
Description: A
|
378 |
|
379 |
Stats:
|
380 |
-
Armor Class:
|
381 |
-
Hit Points:
|
382 |
-
Speed:
|
383 |
-
STR:
|
384 |
-
DEX:
|
385 |
-
CON:
|
386 |
INT: 2 (-4)
|
387 |
WIS: 10 (+0)
|
388 |
-
CHA:
|
389 |
-
Skills: Perception +
|
390 |
-
Senses: darkvision 60 ft., passive Perception 14
|
391 |
Languages: —
|
392 |
-
Challenge:
|
393 |
|
394 |
Passives:
|
395 |
-
|
396 |
|
397 |
Actions:
|
398 |
-
|
399 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
|
401 |
|
402 |
def generate_image(card_text: str):
|
|
|
372 |
return result["text"], None
|
373 |
|
374 |
|
375 |
+
starting_text = """Name: Bandersnatch
|
376 |
+
Type: Large beast, chaotic evil
|
377 |
+
Description: A Bandersnatch is a fearsome creature that dwells in the depths of ancient forests. Its body is covered in thick, matted fur, and its eyes glow with an otherworldly light. Its roar is deafening, and its claws are as long as a man's arm.
|
378 |
|
379 |
Stats:
|
380 |
+
Armor Class: 13 (natural armor)
|
381 |
+
Hit Points: 115 (15d10 + 45)
|
382 |
+
Speed: 40 ft.
|
383 |
+
STR: 26 (7)
|
384 |
+
DEX: 12 (+1)
|
385 |
+
CON: 18 (+4)
|
386 |
INT: 2 (-4)
|
387 |
WIS: 10 (+0)
|
388 |
+
CHA: 6 (-2)
|
389 |
+
Skills: Perception +6, Stealth +4
|
390 |
+
Senses: darkvision 60 ft., passive Perception 16, passive Stealth 14
|
391 |
Languages: —
|
392 |
+
Challenge: 9 (5,000 XP)
|
393 |
|
394 |
Passives:
|
395 |
+
Frenzy: When the Bandersnatch drops to 20 hit points or lower, it gains a bonus to all damage rolls and attacks an additional target as a bonus action until it is destroyed or drops out of combat.
|
396 |
|
397 |
Actions:
|
398 |
+
Multiattack: The Bandersnatch makes three attacks: two with its claws and one with its bite.
|
399 |
+
|
400 |
+
Claws: Melee Weapon Attack: +11 to hit, reach 10 ft., one target. Hit: 21 (4d6 + 7) slashing damage.
|
401 |
+
|
402 |
+
Bite: Melee Weapon Attack: +11 to hit, reach 5 ft., one target. Hit: 19 (2d10 + 7) piercing damage.
|
403 |
+
|
404 |
+
Tail Swipe: Melee Weapon Attack: +11 to hit, reach 15 ft., one target. Hit: 21 (4d6 + 7) bludgeoning damage.
|
405 |
+
|
406 |
+
Fear Aura: Any creature within 120 feet of the Bandersnatch must succeed on a DC 16 Wisdom saving throw or become frightened for 1 minute. A creature can repeat the saving throw at the end of each turn."""
|
407 |
|
408 |
|
409 |
def generate_image(card_text: str):
|
placeholder.png
CHANGED