rutsam commited on
Commit
f48c5be
1 Parent(s): 0126aab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
  pipeline_flan=pipeline(model="google/flan-t5-xl")
5
 
6
  def generatellm(text):
7
- output_flan = pipe_flan(text, max_length=100)[0]["generated_text"]
8
  return output_flan
9
 
10
  gradio_ui= gr.Interface(
 
4
  pipeline_flan=pipeline(model="google/flan-t5-xl")
5
 
6
  def generatellm(text):
7
+ output_flan = pipeline_flan(text, max_length=100)[0]["generated_text"]
8
  return output_flan
9
 
10
  gradio_ui= gr.Interface(