aquibmoin commited on
Commit
7d2fada
·
verified ·
1 Parent(s): 4d9a68f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="json", # Display the output as JSON to inspect the response structure
33
- title="nasa-smd-ibm-v0.1 Model Output (Fill Mask)",
34
- description="Input a sentence with <mask> to see the model's predictions."
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