SoSa123456 commited on
Commit
677a99e
1 Parent(s): 2c0e509

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def generate_script(host_name, listener_location, causes_climate_change, co2_lev
26
  TOPIC: {TOPIC}. DESCRIPTION: {DESCRIPTION}"""
27
 
28
  # Generate the script using the language model
29
- script = generator.text_generation(prompt_template, max_length=1000)[0]['generated_text']
30
 
31
  # Split the script into sections
32
  sections = script.split("\n")
 
26
  TOPIC: {TOPIC}. DESCRIPTION: {DESCRIPTION}"""
27
 
28
  # Generate the script using the language model
29
+ script = generator.text_generation(prompt_template)[0]['generated_text']
30
 
31
  # Split the script into sections
32
  sections = script.split("\n")