Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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 |
)
|