Spaces:
Runtime error
Runtime error
Upload with huggingface_hub
Browse files- app.py +13 -0
- requirements.txt +3 -0
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from asyncio import gather
|
2 |
+
|
3 |
+
|
4 |
+
@simple
|
5 |
+
def outline():
|
6 |
+
return "What is the outline?"
|
7 |
+
|
8 |
+
|
9 |
+
@composite
|
10 |
+
async def story(bot: Bot):
|
11 |
+
calls = [bot(outline()), bot(characters())]
|
12 |
+
outline, characters = gather([calls])
|
13 |
+
|
requirements.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
gradio
|
2 |
+
git+https://github.com/srush/minichain
|
3 |
+
manifest-ml
|