Sai004 commited on
Commit
e03c417
·
1 Parent(s): 1b4e4bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -255,7 +255,7 @@ def validation(user_input):
255
  validation_interface = gradio.Interface(
256
  fn=validation,
257
  inputs="text",
258
- outputs=gradio.outputs.JSON(),
259
  title="Validation API",
260
  description="API to validate user input"
261
  )
 
255
  validation_interface = gradio.Interface(
256
  fn=validation,
257
  inputs="text",
258
+ outputs=gradio.outputs.Textbox(label="Validation Result"),
259
  title="Validation API",
260
  description="API to validate user input"
261
  )