Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import transformers
|
|
2 |
import gradio as gr
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
gpt2 = pipeline('text-generation', model = "Lifan-Z/Chinese-Classic-Poem-Generator-
|
6 |
|
7 |
def poems(st):
|
8 |
poems=""
|
|
|
2 |
import gradio as gr
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
gpt2 = pipeline('text-generation', model = "Lifan-Z/Chinese-Classic-Poem-Generator-style7x8-GPT2")
|
6 |
|
7 |
def poems(st):
|
8 |
poems=""
|