Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,9 @@ def get_model_output(input_text):
|
|
29 |
demo = gr.Interface(
|
30 |
fn=get_model_output,
|
31 |
inputs=gr.Textbox(lines=2, label="Input with mask token", placeholder="Enter a sentence with <mask> to fill..."),
|
32 |
-
outputs="
|
33 |
-
title="nasa-smd-ibm-v0.1 Model Output
|
34 |
-
description="
|
35 |
)
|
36 |
|
37 |
# Launch the interface
|
|
|
29 |
demo = gr.Interface(
|
30 |
fn=get_model_output,
|
31 |
inputs=gr.Textbox(lines=2, label="Input with mask token", placeholder="Enter a sentence with <mask> to fill..."),
|
32 |
+
outputs="text", # Display the output as JSON to inspect the response structure
|
33 |
+
title="nasa-smd-ibm-v0.1 Model Output",
|
34 |
+
description="NASA SMD Indusa model response (Fill Mask)."
|
35 |
)
|
36 |
|
37 |
# Launch the interface
|