Spaces:
Runtime error
Runtime error
Fix endpoint
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ fs = HfFileSystem()
|
|
13 |
duckdb.register_filesystem(fs)
|
14 |
|
15 |
def get_parquet_files(dataset, config, split):
|
16 |
-
response = requests.get(f"{DATASETS_SERVER_ENDPOINT}/
|
17 |
if response.status_code != 200:
|
18 |
raise Exception(response)
|
19 |
|
|
|
13 |
duckdb.register_filesystem(fs)
|
14 |
|
15 |
def get_parquet_files(dataset, config, split):
|
16 |
+
response = requests.get(f"{DATASETS_SERVER_ENDPOINT}/parquet?dataset={dataset}&config={config}", timeout=60)
|
17 |
if response.status_code != 200:
|
18 |
raise Exception(response)
|
19 |
|