Joe7oo7 commited on
Commit
22ceffe
·
verified ·
1 Parent(s): ab3dc20

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  # Step 1: Load the pre-trained model
5
  # You can choose any suitable conversational model from the Hugging Face Model Hub
6
- chatbot = pipeline("conversational", model="openai-community/gpt2")
7
 
8
  # Step 2: Define the function that will process user input and return the model's response
9
  def respond(input_text):
 
3
 
4
  # Step 1: Load the pre-trained model
5
  # You can choose any suitable conversational model from the Hugging Face Model Hub
6
+ chatbot = pipeline("conversational", model="EleutherAI/gpt-neo-2.7B")
7
 
8
  # Step 2: Define the function that will process user input and return the model's response
9
  def respond(input_text):