Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from bs4 import BeautifulSoup
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
# Use faster, open-access model
|
| 7 |
-
llm = pipeline("text2text-generation", model="
|
| 8 |
|
| 9 |
def refine_from_url(url, instruction):
|
| 10 |
try:
|
|
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
# Use faster, open-access model
|
| 7 |
+
llm = pipeline("text2text-generation", model="EleutherAI/gpt-neo-2.7B")
|
| 8 |
|
| 9 |
def refine_from_url(url, instruction):
|
| 10 |
try:
|