micrem73 commited on
Commit
1635ab9
1 Parent(s): f3e411e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ shroom_generator = pipeline("text-generation", model=AutoModelWithLMHead.from_pr
18
  temperature=1.3 )
19
 
20
  def generator(inizia_la_storia = ''):
21
- shroom_result = shroom_generator(inizia_la_storia, max_length=520)
22
  return shroom_result[0]["generated_text"]
23
 
24
 
 
18
  temperature=1.3 )
19
 
20
  def generator(inizia_la_storia = ''):
21
+ shroom_result = shroom_generator(inizia_la_storia, max_length=100)
22
  return shroom_result[0]["generated_text"]
23
 
24