Pankaj8922 commited on
Commit
79e13b5
1 Parent(s): 19d74a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- generator = pipeline('text-generation', model="gpt2", pad_token_id=50256)
5
 
6
  def generate_text(prompt, max_length, temperature, top_k, top_p):
7
  result = generator(
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ generator = pipeline('text-generation', model="Pankaj8922/gpt2-fs", pad_token_id=50256)
5
 
6
  def generate_text(prompt, max_length, temperature, top_k, top_p):
7
  result = generator(