Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def validate_json(json_data):
|
|
| 36 |
# Gradio interface
|
| 37 |
iface = gr.Interface(
|
| 38 |
fn=validate_json,
|
| 39 |
-
inputs=gr.
|
| 40 |
outputs="text",
|
| 41 |
title="JSON Validator",
|
| 42 |
description="Validate JSON against a predefined schema."
|
|
|
|
| 36 |
# Gradio interface
|
| 37 |
iface = gr.Interface(
|
| 38 |
fn=validate_json,
|
| 39 |
+
inputs=gr.Textbox(lines=20, placeholder="Paste JSON here..."),
|
| 40 |
outputs="text",
|
| 41 |
title="JSON Validator",
|
| 42 |
description="Validate JSON against a predefined schema."
|