Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import gradio as gr
|
|
13 |
from app_1M_image import get_demo as get_demo_1M_image
|
14 |
from app_image import get_demo as get_demo_image
|
15 |
from app_json import get_demo as get_demo_json
|
16 |
-
from app_parquet import get_demo as get_demo_parquet
|
17 |
|
18 |
|
19 |
def _get_demo_code(path: str) -> str:
|
@@ -144,12 +144,12 @@ with gr.Blocks() as demo:
|
|
144 |
with gr.Accordion("Source code", open=True):
|
145 |
gr.Code(_get_demo_code("app_1M_image.py"), language="python")
|
146 |
|
147 |
-
with gr.Tab("Parquet Dataset (e.g. save user preferences)"):
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
demo.launch()
|
|
|
13 |
from app_1M_image import get_demo as get_demo_1M_image
|
14 |
from app_image import get_demo as get_demo_image
|
15 |
from app_json import get_demo as get_demo_json
|
16 |
+
# from app_parquet import get_demo as get_demo_parquet
|
17 |
|
18 |
|
19 |
def _get_demo_code(path: str) -> str:
|
|
|
144 |
with gr.Accordion("Source code", open=True):
|
145 |
gr.Code(_get_demo_code("app_1M_image.py"), language="python")
|
146 |
|
147 |
+
# with gr.Tab("Parquet Dataset (e.g. save user preferences)"):
|
148 |
+
# gr.Markdown(PARQUET_DEMO_EXPLANATION)
|
149 |
+
# get_demo_parquet()
|
150 |
+
# gr.Markdown(
|
151 |
+
# "## Result\n\nhttps://huggingface.co/datasets/Wauplin/example-space-to-dataset-parquet\n\n## Code"
|
152 |
+
# )
|
153 |
+
# with gr.Accordion("Source code", open=True):
|
154 |
+
# gr.Code(_get_demo_code("app_parquet.py"), language="python")
|
155 |
demo.launch()
|