Suchinthana commited on
Commit
2dcfda6
1 Parent(s): 851d58a

Increased length

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ generator3 = pipeline(model='Suchinthana/MT5-Sinhala-Wikigen-Experimental', toke
8
 
9
  # Define the function for Gradio to use
10
  def generate_sinhala_text(prompt):
11
- generated_text = generator3("writeWiki:"+prompt, do_sample=True, max_length=50)[0]['generated_text']
12
  return generated_text
13
 
14
  # Define the function to display loader
 
8
 
9
  # Define the function for Gradio to use
10
  def generate_sinhala_text(prompt):
11
+ generated_text = generator3("writeWiki:"+prompt, do_sample=True, max_length=75)[0]['generated_text']
12
  return generated_text
13
 
14
  # Define the function to display loader