Spaces:
Sleeping
Sleeping
Commit
β’
02aeff8
1
Parent(s):
984da49
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from gradio_huggingfacehub_search import HuggingfaceHubSearch
|
|
3 |
|
4 |
|
5 |
with gr.Blocks() as demo:
|
6 |
-
gr.Markdown("# π« Preview dataset π«")
|
7 |
dataset_name = HuggingfaceHubSearch(
|
8 |
label="Hub Dataset ID",
|
9 |
placeholder="Search for dataset id on Huggingface",
|
@@ -18,7 +18,7 @@ with gr.Blocks() as demo:
|
|
18 |
src="https://huggingface.co/datasets/{name}/embed/viewer/default/train"
|
19 |
frameborder="0"
|
20 |
width="100%"
|
21 |
-
height="
|
22 |
></iframe>
|
23 |
"""
|
24 |
return gr.HTML(value=html_code)
|
|
|
3 |
|
4 |
|
5 |
with gr.Blocks() as demo:
|
6 |
+
gr.Markdown("# π« Preview any dataset π«")
|
7 |
dataset_name = HuggingfaceHubSearch(
|
8 |
label="Hub Dataset ID",
|
9 |
placeholder="Search for dataset id on Huggingface",
|
|
|
18 |
src="https://huggingface.co/datasets/{name}/embed/viewer/default/train"
|
19 |
frameborder="0"
|
20 |
width="100%"
|
21 |
+
height="600px"
|
22 |
></iframe>
|
23 |
"""
|
24 |
return gr.HTML(value=html_code)
|