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