efrenam commited on
Commit
27f5c52
·
verified ·
1 Parent(s): da2b21e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import gradio as gr
3
 
4
  # Initialize the text generation pipeline
5
- generator = pipeline("text-generation", model="EleutherAI/gpt-neo-1.3B")
6
 
7
  def generate_response(prompt):
8
  """Generate text based on the user's prompt."""
 
2
  import gradio as gr
3
 
4
  # Initialize the text generation pipeline
5
+ generator = pipeline("text-generation", model="distilgpt2")
6
 
7
  def generate_response(prompt):
8
  """Generate text based on the user's prompt."""