Spaces:
Build error
Build error
Commit
·
72f617a
1
Parent(s):
9cdcc2a
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline, GPT2LMHeadModel, AutoTokenizer
|
|
3 |
from summarizer import Summarizer
|
4 |
|
5 |
generate = pipeline(task='text-generation', model=GPT2LMHeadModel.from_pretrained("DemocracyStudio/generate_nft_content"), tokenizer=AutoTokenizer.from_pretrained("DemocracyStudio/generate_nft_content"))
|
6 |
-
|
7 |
|
8 |
st.title("Text generation for the marketing content of NFTs")
|
9 |
|
|
|
3 |
from summarizer import Summarizer
|
4 |
|
5 |
generate = pipeline(task='text-generation', model=GPT2LMHeadModel.from_pretrained("DemocracyStudio/generate_nft_content"), tokenizer=AutoTokenizer.from_pretrained("DemocracyStudio/generate_nft_content"))
|
6 |
+
summarize=Summarizer()
|
7 |
|
8 |
st.title("Text generation for the marketing content of NFTs")
|
9 |
|