Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def request_model(model_text):
|
|
68 |
common_voice_test = load_dataset(
|
69 |
"mozilla-foundation/common_voice_17_0", "fa", split="test"
|
70 |
).shuffle(seed=42).select(range(len(load_dataset(
|
71 |
-
"mozilla-foundation/common_voice_17_0", "fa", split="test")) //
|
72 |
|
73 |
# Initialize the pipeline with the requested model
|
74 |
pipe = pipeline(
|
|
|
68 |
common_voice_test = load_dataset(
|
69 |
"mozilla-foundation/common_voice_17_0", "fa", split="test"
|
70 |
).shuffle(seed=42).select(range(len(load_dataset(
|
71 |
+
"mozilla-foundation/common_voice_17_0", "fa", split="test")) // 150))
|
72 |
|
73 |
# Initialize the pipeline with the requested model
|
74 |
pipe = pipeline(
|