Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,18 +63,18 @@ with gr.Blocks() as demo:
|
|
| 63 |
def render_count(count):
|
| 64 |
name = gr.Textbox(
|
| 65 |
lines=1,
|
| 66 |
-
placeholder=f"Category
|
| 67 |
-
label=f"Name
|
| 68 |
)
|
| 69 |
data_type = gr.Textbox(
|
| 70 |
lines=1,
|
| 71 |
-
placeholder=f"Category
|
| 72 |
-
label=f"Data Type
|
| 73 |
)
|
| 74 |
desc = gr.Textbox(
|
| 75 |
lines=1,
|
| 76 |
-
placeholder=f"Category
|
| 77 |
-
label=f"Description
|
| 78 |
)
|
| 79 |
|
| 80 |
update_json_button.click(update_json, inputs=[json_display, name, data_type, desc], outputs=json_display)
|
|
|
|
| 63 |
def render_count(count):
|
| 64 |
name = gr.Textbox(
|
| 65 |
lines=1,
|
| 66 |
+
placeholder=f"Category name",
|
| 67 |
+
label=f"Name"
|
| 68 |
)
|
| 69 |
data_type = gr.Textbox(
|
| 70 |
lines=1,
|
| 71 |
+
placeholder=f"Category data type",
|
| 72 |
+
label=f"Data Type"
|
| 73 |
)
|
| 74 |
desc = gr.Textbox(
|
| 75 |
lines=1,
|
| 76 |
+
placeholder=f"Category description",
|
| 77 |
+
label=f"Description"
|
| 78 |
)
|
| 79 |
|
| 80 |
update_json_button.click(update_json, inputs=[json_display, name, data_type, desc], outputs=json_display)
|