Matthew Hollings commited on
Commit
58f30bc
1 Parent(s): 4b7e826

Make it runnable.

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
  # Set up the generatove model transformer pipeline
5
- generator = pipeline("text-generation", model="matthh/")
6
 
7
  # A sequence of lines both those typed in and the line so far
8
  # when save is clicked the txt file is downloaded
 
2
  from transformers import pipeline
3
 
4
  # Set up the generatove model transformer pipeline
5
+ generator = pipeline("text-generation", model="matthh/gpt2-poetry-model")
6
 
7
  # A sequence of lines both those typed in and the line so far
8
  # when save is clicked the txt file is downloaded