Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
srush
/
minichain
like
2
Running
App
Files
Files
Community
ddc683b
minichain
/
story
/
app.py
srush
HF staff
Upload with huggingface_hub
2becd91
almost 2 years ago
raw
Copy download link
history
blame
Safe
225 Bytes
from
asyncio
import
gather
@simple
def
outline
():
return
"What is the outline?"
@composite
async
def
story
(
bot: Bot
):
calls = [bot(outline()), bot(characters())]
outline, characters = gather([calls])