Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ if uploaded:
|
|
46 |
f"based on this description:\n\n“{cap}”\n\nStory:"
|
47 |
)
|
48 |
with st.spinner("✍️ Writing a story..."):
|
49 |
-
|
50 |
prompt,
|
51 |
max_new_tokens=120,
|
52 |
do_sample=True,
|
|
|
46 |
f"based on this description:\n\n“{cap}”\n\nStory:"
|
47 |
)
|
48 |
with st.spinner("✍️ Writing a story..."):
|
49 |
+
out = storyteller(
|
50 |
prompt,
|
51 |
max_new_tokens=120,
|
52 |
do_sample=True,
|