Change labels language to tags
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def compareTextAndLabels (userText, userLabels):
|
|
65 |
|
66 |
demo = gr.Interface(
|
67 |
fn=compareTextAndLabels,
|
68 |
-
inputs=[gr.Textbox(label="Text"), gr.Textbox(label="
|
69 |
-
outputs=[gr.Textbox(label="
|
70 |
)
|
71 |
demo.launch()
|
|
|
65 |
|
66 |
demo = gr.Interface(
|
67 |
fn=compareTextAndLabels,
|
68 |
+
inputs=[gr.Textbox(label="Text"), gr.Textbox(label="Tags (separated by commas)")],
|
69 |
+
outputs=[gr.Textbox(label="Tag Scores")],
|
70 |
)
|
71 |
demo.launch()
|