Spaces:
Runtime error
Runtime error
dipankardas011
commited on
due to performance issue switched to' gpt2-medium
Browse filesSigned-off-by: Dipankar Das <dipankardas0115@gmail.com>
app.py
CHANGED
@@ -3,7 +3,7 @@ from fastapi.responses import RedirectResponse
|
|
3 |
import requests
|
4 |
|
5 |
from transformers import pipeline, set_seed
|
6 |
-
generator = pipeline('text-generation', model='gpt2-
|
7 |
set_seed(42)
|
8 |
|
9 |
|
|
|
3 |
import requests
|
4 |
|
5 |
from transformers import pipeline, set_seed
|
6 |
+
generator = pipeline('text-generation', model='gpt2-medium')
|
7 |
set_seed(42)
|
8 |
|
9 |
|