Spaces:
Runtime error
Runtime error
Update app.py
Browse files164 unmodified lines165166167168169170171172173164 unmodified linesinputs=gr.Textbox(lines=5, label="Input Text",placeholder="Write about how your breakfast went or anything else that happend or might happen to you ..."),outputs=[gr.HighlightedText(label="Binary Sequence Classification",color_map={"EXTERNAL": "red", "INTERNAL": "green"}),gr.HighlightedText(label="Extended Sequence Classification",color_map={"+": "red", "-": "green"}),gr.Label(label="Internal Detail Count"),gr.Label(label="External Detail Count"),gr.Label(label="Approximated Internal Detail Ratio")164 unmodified lines165166167168169170171172173174175176177178179180181182183184185164 unmodified linesinputs=gr.Textbox(lines=5, label="Input Text",placeholder="Write about how your breakfast went or anything else that happend or might happen to you ..."),outputs=[gr.HighlightedText(label="Binary Sequence Classification",color_map={"EXTERNAL": "#6ad5bcff","INTERNAL": "#ee8bacff"}),gr.HighlightedText(label="Extended Sequence Classification",color_map={"INTemothou": "#c27ba0","INTpercept": "#cc4125","INTtime": "#e06f66","INTplace": "#e69138","INTevent": "#ee8bacff","EXTsemantic": "#6ad5bc","EXTrepetition": "#11aeb8","EXTother": "#24aaad",}),gr.Label(label="Internal Detail Count"),gr.Label(label="External Detail Count"),gr.Label(label="Approximated Internal Detail Ratio")
app.py+14-2