Spaces:
Running
Running
revert changes
Browse files- interfaces/cap_minor.py +1 -7
interfaces/cap_minor.py
CHANGED
@@ -92,10 +92,4 @@ demo = gr.Interface(
|
|
92 |
inputs=[gr.Textbox(lines=6, label="Input"),
|
93 |
gr.Dropdown(languages, label="Language"),
|
94 |
gr.Dropdown(domains.keys(), label="Domain")],
|
95 |
-
outputs=[gr.
|
96 |
-
css="""
|
97 |
-
#output-box {
|
98 |
-
width: 100% !important;
|
99 |
-
max-width: 800px;
|
100 |
-
}
|
101 |
-
""")
|
|
|
92 |
inputs=[gr.Textbox(lines=6, label="Input"),
|
93 |
gr.Dropdown(languages, label="Language"),
|
94 |
gr.Dropdown(domains.keys(), label="Domain")],
|
95 |
+
outputs=[gr.Label(num_top_classes=5, label="Output"), gr.Markdown()])
|
|
|
|
|
|
|
|
|
|
|
|