Spaces:
Runtime error
Runtime error
mwitiderrick
commited on
Commit
•
306e0a8
1
Parent(s):
d6a6a5e
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ print(inference)
|
|
34 |
task = "sentiment-analysis"
|
35 |
sparse_qa_pipeline = Pipeline.create(
|
36 |
task=task,
|
37 |
-
model_path="zoo:
|
38 |
top_k = 2
|
39 |
)
|
40 |
def run_pipeline(text):
|
|
|
34 |
task = "sentiment-analysis"
|
35 |
sparse_qa_pipeline = Pipeline.create(
|
36 |
task=task,
|
37 |
+
model_path="zoo:distilbert-sst2_wikipedia_bookcorpus-pruned90",
|
38 |
top_k = 2
|
39 |
)
|
40 |
def run_pipeline(text):
|