Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ from typing import List, Dict
|
|
2 |
import httpx
|
3 |
import gradio as gr
|
4 |
import pandas as pd
|
|
|
5 |
|
6 |
async def get_splits(dataset_name: str) -> Dict[str, List[Dict]]:
|
7 |
URL = f"https://datasets-server.huggingface.co/splits?dataset={dataset_name}"
|
|
|
2 |
import httpx
|
3 |
import gradio as gr
|
4 |
import pandas as pd
|
5 |
+
import json
|
6 |
|
7 |
async def get_splits(dataset_name: str) -> Dict[str, List[Dict]]:
|
8 |
URL = f"https://datasets-server.huggingface.co/splits?dataset={dataset_name}"
|