Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
443a3b3
1
Parent(s):
16ad661
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def return_model(task):
|
|
9 |
model = pipeline("text-classification", model="CesarLeblanc/test_model")
|
10 |
else:
|
11 |
model = pipeline("fill-mask", model="CesarLeblanc/fill_mask_model")
|
12 |
-
return
|
13 |
|
14 |
def return_dataset():
|
15 |
dataset = load_dataset("CesarLeblanc/text_classification_dataset")
|
|
|
9 |
model = pipeline("text-classification", model="CesarLeblanc/test_model")
|
10 |
else:
|
11 |
model = pipeline("fill-mask", model="CesarLeblanc/fill_mask_model")
|
12 |
+
return model
|
13 |
|
14 |
def return_dataset():
|
15 |
dataset = load_dataset("CesarLeblanc/text_classification_dataset")
|