Spaces:
Build error
Build error
Commit
·
8744612
1
Parent(s):
798e27e
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,33 +51,33 @@ with block:
|
|
| 51 |
with gr.Tabs():
|
| 52 |
with gr.TabItem("Spaces (ML apps) 🐨 🌳 "):
|
| 53 |
with gr.Row():
|
| 54 |
-
|
| 55 |
type="pandas", datatype=["number", "markdown", "number"]
|
| 56 |
)
|
| 57 |
with gr.Row():
|
| 58 |
data_run = gr.Button("Refresh")
|
| 59 |
data_run.click(
|
| 60 |
-
get_submissions, inputs=gr.Variable("spaces"), outputs=
|
| 61 |
)
|
| 62 |
with gr.TabItem("Models"):
|
| 63 |
with gr.Row():
|
| 64 |
-
|
| 65 |
type="pandas", datatype=["number", "markdown", "number"]
|
| 66 |
)
|
| 67 |
with gr.Row():
|
| 68 |
data_run = gr.Button("Refresh")
|
| 69 |
data_run.click(
|
| 70 |
-
get_submissions, inputs=gr.Variable("models"), outputs=
|
| 71 |
)
|
| 72 |
with gr.TabItem("Datasets"):
|
| 73 |
with gr.Row():
|
| 74 |
-
|
| 75 |
type="pandas", datatype=["number", "markdown", "number"]
|
| 76 |
)
|
| 77 |
with gr.Row():
|
| 78 |
data_run = gr.Button("Refresh")
|
| 79 |
data_run.click(
|
| 80 |
-
get_submissions, inputs=gr.Variable("datasets"), outputs=
|
| 81 |
)
|
| 82 |
|
| 83 |
|
|
|
|
| 51 |
with gr.Tabs():
|
| 52 |
with gr.TabItem("Spaces (ML apps) 🐨 🌳 "):
|
| 53 |
with gr.Row():
|
| 54 |
+
spaces_data = gr.components.Dataframe(
|
| 55 |
type="pandas", datatype=["number", "markdown", "number"]
|
| 56 |
)
|
| 57 |
with gr.Row():
|
| 58 |
data_run = gr.Button("Refresh")
|
| 59 |
data_run.click(
|
| 60 |
+
get_submissions, inputs=gr.Variable("spaces"), outputs=spaces_data
|
| 61 |
)
|
| 62 |
with gr.TabItem("Models"):
|
| 63 |
with gr.Row():
|
| 64 |
+
models_data = gr.components.Dataframe(
|
| 65 |
type="pandas", datatype=["number", "markdown", "number"]
|
| 66 |
)
|
| 67 |
with gr.Row():
|
| 68 |
data_run = gr.Button("Refresh")
|
| 69 |
data_run.click(
|
| 70 |
+
get_submissions, inputs=gr.Variable("models"), outputs=models_data
|
| 71 |
)
|
| 72 |
with gr.TabItem("Datasets"):
|
| 73 |
with gr.Row():
|
| 74 |
+
datasets_data = gr.components.Dataframe(
|
| 75 |
type="pandas", datatype=["number", "markdown", "number"]
|
| 76 |
)
|
| 77 |
with gr.Row():
|
| 78 |
data_run = gr.Button("Refresh")
|
| 79 |
data_run.click(
|
| 80 |
+
get_submissions, inputs=gr.Variable("datasets"), outputs=datasets_data
|
| 81 |
)
|
| 82 |
|
| 83 |
|