Spaces:
Sleeping
Sleeping
LittleLirow
commited on
Commit
•
80b4d74
1
Parent(s):
9d6eb99
Update return story size
Browse files
story.py
CHANGED
@@ -8,7 +8,7 @@ def text2story(text, auth):
|
|
8 |
model="gpt-3.5-turbo",
|
9 |
messages=[
|
10 |
{"role": "system", "content": "You are a psychedelic horror storywriter."},
|
11 |
-
{"role": "user", "content": f"Write a narrated story about {text} with a bad ending. It must have between
|
12 |
],
|
13 |
max_tokens=1000,
|
14 |
temperature=0.7)
|
|
|
8 |
model="gpt-3.5-turbo",
|
9 |
messages=[
|
10 |
{"role": "system", "content": "You are a psychedelic horror storywriter."},
|
11 |
+
{"role": "user", "content": f"Write a narrated story about {text} with a bad ending. It must have between 150 and 450 characters. It must have {text}."}
|
12 |
],
|
13 |
max_tokens=1000,
|
14 |
temperature=0.7)
|