|
<script>window.gradio_config = {"version":"3.28.1\n","mode":"interface","dev_mode":false,"analytics_enabled":true,"components":[{"id":22,"type":"markdown","props":{"value":"\u003ch1 style=\u0027text-align: center; margin-bottom: 1rem\u0027\u003eNLP Sentiment Analysis - Zinzi Challenge\u003c/h1\u003e","name":"markdown","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":23,"type":"markdown","props":{"value":"\u003cp\u003eVaccinate or Do Not Vaccinate\u003c/p\u003e","name":"markdown","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":24,"type":"row","props":{"type":"row","variant":"default","visible":true,"style":{"equal_height":false}}},{"id":25,"type":"column","props":{"type":"column","variant":"panel","scale":1,"min_width":320,"visible":true,"style":{}}},{"id":26,"type":"column","props":{"type":"column","variant":"default","scale":1,"min_width":320,"visible":true,"style":{}}},{"id":19,"type":"textbox","props":{"lines":1,"max_lines":20,"value":"Write your text or tweet here","type":"text","label":"text","show_label":true,"name":"textbox","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":27,"type":"form","props":{"type":"form","visible":true,"style":{}}},{"id":28,"type":"column","props":{"type":"column","variant":"default","scale":1,"min_width":320,"visible":false,"style":{}}},{"id":29,"type":"interpretation","props":{"component":"textbox","component_props":{"lines":1,"max_lines":20,"placeholder":null,"value":"Write your text or tweet here","type":"text","label":"text","show_label":true,"interactive":null,"name":"textbox","visible":true,"elem_id":null,"elem_classes":null,"style":{},"root_url":null}},"serializer":"Serializable","api_info":{"raw_input":["Any",""],"raw_output":["Any",""],"serialized_input":["Any",""],"serialized_output":["Any",""]},"example_inputs":{"raw":null,"serialized":null}},{"id":30,"type":"row","props":{"type":"row","variant":"default","visible":true,"style":{}}},{"id":31,"type":"button","props":{"value":"Clear","variant":"secondary","interactive":true,"name":"button","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":32,"type":"button","props":{"value":"Submit","variant":"primary","interactive":true,"name":"button","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":33,"type":"column","props":{"type":"column","variant":"panel","scale":1,"min_width":320,"visible":true,"style":{}}},{"id":21,"type":"label","props":{"selectable":false,"label":"output","show_label":true,"interactive":false,"name":"label","visible":true,"style":{}},"serializer":"JSONSerializable","api_info":{"raw_input":["str | Dict | List","JSON-serializable object or a string"],"raw_output":["Dict | List","dictionary- or list-like object"],"serialized_input":["str","filepath to JSON file"],"serialized_output":["str","filepath to JSON file"]},"example_inputs":{"raw":{"a":1,"b":2},"serialized":null}},{"id":34,"type":"row","props":{"type":"row","variant":"default","visible":true,"style":{}}},{"id":35,"type":"button","props":{"value":"Flag","variant":"secondary","interactive":true,"name":"button","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":36,"type":"button","props":{"value":"Interpret","variant":"secondary","interactive":true,"name":"button","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}},{"id":37,"type":"dataset","props":{"components":["textbox"],"headers":["text"],"samples":[["Being vaccinated is actually awesome :)"]],"type":"index","samples_per_page":10,"name":"dataset","visible":true,"style":{}},"serializer":"Serializable","api_info":{"raw_input":["str","string value"],"raw_output":["str","string value"],"serialized_input":["str","string value"],"serialized_output":["str","string value"]},"example_inputs":{"raw":"Howdy!","serialized":"Howdy!"}}],"css":null,"title":"NLP Sentiment Analysis - Zinzi Challenge","is_space":false,"enable_queue":false,"show_error":false,"show_api":true,"is_colab":true,"stylesheets":["https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600\u0026display=swap","https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600\u0026display=swap"],"root":"","theme":"default","layout":{"id":20,"children":[{"id":22},{"id":23},{"id":24,"children":[{"id":25,"children":[{"id":26,"children":[{"id":27,"children":[{"id":19}]}]},{"id":28,"children":[{"id":29}]},{"id":30,"children":[{"id":31},{"id":32}]}]},{"id":33,"children":[{"id":21},{"id":34,"children":[{"id":35},{"id":36}]}]}]},{"id":37}]},"dependencies":[{"targets":[32],"trigger":"click","inputs":[19],"outputs":[21],"backend_fn":true,"js":null,"queue":null,"api_name":"predict","scroll_to_output":true,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false},{"targets":[31],"trigger":"click","inputs":[],"outputs":[19,21,26,28],"backend_fn":false,"js":"() =\u003e [\"\", null, {\"variant\": null, \"visible\": true, \"__type__\": \"update\"}, {\"variant\": null, \"visible\": false, \"__type__\": \"update\"}]\n ","queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false},{"targets":[36],"trigger":"click","inputs":[19,21],"outputs":[29,26,28],"backend_fn":true,"js":null,"queue":null,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false},{"targets":[35],"trigger":"click","inputs":[],"outputs":[35],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false},{"targets":[35],"trigger":"click","inputs":[19,21],"outputs":[35],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false},{"targets":[31],"trigger":"click","inputs":[],"outputs":[35],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":true,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false},{"targets":[37],"trigger":"click","inputs":[37],"outputs":[19],"backend_fn":true,"js":null,"queue":false,"api_name":null,"scroll_to_output":false,"show_progress":false,"every":null,"batch":false,"max_batch_size":4,"cancels":[],"types":{"continuous":false,"generator":false},"collects_event_data":false,"trigger_after":null,"trigger_only_on_success":false}]};</script> |