Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ The main purpose of GOAT-70B-STORYTELLING is to generate books, novels, moviescr
|
|
37 |
|
38 |
Usage can be either self-hosted via `transformers` or used with Spaces
|
39 |
|
40 |
-
```
|
41 |
import torch
|
42 |
|
43 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
@@ -53,8 +53,10 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
53 |
|
54 |
Use it inside via GOAT-STORYTELLING-AGENT framework:
|
55 |
|
56 |
-
```
|
57 |
-
|
|
|
|
|
58 |
```
|
59 |
## License
|
60 |
|
|
|
37 |
|
38 |
Usage can be either self-hosted via `transformers` or used with Spaces
|
39 |
|
40 |
+
```python
|
41 |
import torch
|
42 |
|
43 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
53 |
|
54 |
Use it inside via GOAT-STORYTELLING-AGENT framework:
|
55 |
|
56 |
+
```python
|
57 |
+
from goat_storytelling_agent.story_processor.prompt_manager import generate_story
|
58 |
+
|
59 |
+
novel_scenes = generate_story('never too much coffee', form='novel')
|
60 |
```
|
61 |
## License
|
62 |
|