Update app.py
Browse files
app.py
CHANGED
|
@@ -71,8 +71,8 @@ def gradio_interface(description):
|
|
| 71 |
|
| 72 |
iface = gr.Interface(
|
| 73 |
fn=gradio_interface,
|
| 74 |
-
inputs=gr.
|
| 75 |
-
outputs=gr.
|
| 76 |
title="Student Information Extractor",
|
| 77 |
description="Enter a student's description to extract structured information."
|
| 78 |
)
|
|
|
|
| 71 |
|
| 72 |
iface = gr.Interface(
|
| 73 |
fn=gradio_interface,
|
| 74 |
+
inputs=gr.Textbox(lines=10, label="Student Description"),
|
| 75 |
+
outputs=gr.JSON(label="Extracted Student Information"),
|
| 76 |
title="Student Information Extractor",
|
| 77 |
description="Enter a student's description to extract structured information."
|
| 78 |
)
|