Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ class MyPipeline(TokenClassificationPipeline):
|
|
| 45 |
|
| 46 |
return model_inputs
|
| 47 |
|
| 48 |
-
model_checkpoint = "DD0101/disfluency-
|
| 49 |
|
| 50 |
my_classifier = pipeline(
|
| 51 |
"token-classification", model=model_checkpoint, aggregation_strategy="simple", pipeline_class=MyPipeline)
|
|
|
|
| 45 |
|
| 46 |
return model_inputs
|
| 47 |
|
| 48 |
+
model_checkpoint = "DD0101/disfluency-large"
|
| 49 |
|
| 50 |
my_classifier = pipeline(
|
| 51 |
"token-classification", model=model_checkpoint, aggregation_strategy="simple", pipeline_class=MyPipeline)
|