poltextlab commited on
Commit
53b6331
·
verified ·
1 Parent(s): 955a2f4

revert changes

Browse files
Files changed (1) hide show
  1. 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.Textbox(lines=5, label="Output", elem_id="output-box"), gr.Markdown()],
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()])