DKethan commited on
Commit
6a6bb68
·
verified ·
1 Parent(s): c37c54b

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 text generation pipeline
5
- pipe = pipeline("text-generation", model="microsoft/phi-4", trust_remote_code=True)
6
 
7
  # Define the function for text generation
8
  def generate(text):
 
2
  from transformers import pipeline
3
 
4
  # Load the text generation pipeline
5
+ pipe = pipeline("text-generation", model="openai-community/gpt2")
6
 
7
  # Define the function for text generation
8
  def generate(text):