Spaces:
Running
on
Zero
Running
on
Zero
Merge branch 'main' of https://huggingface.co/spaces/polinaeterna/quality_checker into main
Browse files
app.py
CHANGED
@@ -90,6 +90,7 @@ def plot_and_df(texts, preds):
|
|
90 |
)
|
91 |
|
92 |
|
|
|
93 |
def run_quality_check(dataset, column, batch_size, num_examples):
|
94 |
# config = "default"
|
95 |
info_resp = session.get(f"https://datasets-server.huggingface.co/info?dataset={dataset}", timeout=3).json()
|
|
|
90 |
)
|
91 |
|
92 |
|
93 |
+
@spaces.GPU
|
94 |
def run_quality_check(dataset, column, batch_size, num_examples):
|
95 |
# config = "default"
|
96 |
info_resp = session.get(f"https://datasets-server.huggingface.co/info?dataset={dataset}", timeout=3).json()
|