dlaima commited on
Commit
219a769
·
verified ·
1 Parent(s): c8b0aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the pipeline for text2text-generation using the Blenderbot model
5
- chatbot = pipeline(task="text2text-generation", model="facebook/blenderbot-400M-distill")
6
 
7
 
8
  # Define the text generation function
 
2
  from transformers import pipeline
3
 
4
  # Load the pipeline for text2text-generation using the Blenderbot model
5
+ pipe = pipeline(task="text2text-generation", model="facebook/blenderbot-400M-distill")
6
 
7
 
8
  # Define the text generation function