Spaces:
Sleeping
Sleeping
Change labels language to tags
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def compareTextAndLabels (userText, userLabels):
|
|
41 |
|
42 |
demo = gr.Interface(
|
43 |
fn=compareTextAndLabels,
|
44 |
-
inputs=[gr.Textbox(label="Text"), gr.Textbox(label="
|
45 |
-
outputs=[gr.Textbox(label="
|
46 |
)
|
47 |
demo.launch()
|
|
|
41 |
|
42 |
demo = gr.Interface(
|
43 |
fn=compareTextAndLabels,
|
44 |
+
inputs=[gr.Textbox(label="Text"), gr.Textbox(label="Tags (separated by commas)")],
|
45 |
+
outputs=[gr.Textbox(label="Tag Scores")],
|
46 |
)
|
47 |
demo.launch()
|