Spaces:
Sleeping
Sleeping
Pooja P
commited on
Commit
·
dffd6b1
1
Parent(s):
225a7e5
used transformer instead of openai
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
from transformers import pipeline
|
31 |
import gradio as gr
|
32 |
|
33 |
-
generator = pipeline("text-generation", model="
|
34 |
|
35 |
def clean_topic(topic):
|
36 |
topic = topic.lower()
|
|
|
30 |
from transformers import pipeline
|
31 |
import gradio as gr
|
32 |
|
33 |
+
generator = pipeline("text-generation", model="sshleifer/tiny-gpt2")
|
34 |
|
35 |
def clean_topic(topic):
|
36 |
topic = topic.lower()
|