Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def classify_text(text):
|
|
73 |
# Gradio interface
|
74 |
iface = gr.Interface(
|
75 |
fn=classify_text,
|
76 |
-
inputs=gr.
|
77 |
outputs="text",
|
78 |
title="Semantic Router",
|
79 |
description="Classify text based on pre-defined routes using semantic router."
|
|
|
73 |
# Gradio interface
|
74 |
iface = gr.Interface(
|
75 |
fn=classify_text,
|
76 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter a sentence here..."),
|
77 |
outputs="text",
|
78 |
title="Semantic Router",
|
79 |
description="Classify text based on pre-defined routes using semantic router."
|