mayf commited on
Commit
5e41bcc
·
verified ·
1 Parent(s): ff06172

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ else:
72
  with st.spinner("✍️ Generating story..."):
73
  story_out = story_client(
74
  inputs=prompt,
75
- params={ # ← must be `params`, not `parameters`
76
  "max_new_tokens": 120,
77
  "do_sample": True,
78
  "temperature": 0.7,
 
72
  with st.spinner("✍️ Generating story..."):
73
  story_out = story_client(
74
  inputs=prompt,
75
+ parameters={ # ← must be `params`, not `parameters`
76
  "max_new_tokens": 120,
77
  "do_sample": True,
78
  "temperature": 0.7,