NLP-Sentinel-Analysis / NLP Sentiment Analysis - Zinzi Challenge.html
Achar's picture
Upload NLP Sentiment Analysis - Zinzi Challenge.html
a529d6e
<!DOCTYPE html>
<html
lang="en"
style="
margin: 0;
padding: 0;
min-height: 100%;
display: flex;
flex-direction: column;
"
>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1"
/>
<meta property="og:url" content="https://gradio.app/" />
<meta property="og:type" content="website" />
<meta property="og:image" content="" />
<meta property="og:title" content="NLP Sentiment Analysis - Zinzi Challenge" />
<meta
property="og:description"
content=""
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@teamGradio" />
<meta name="twitter:title" content="NLP Sentiment Analysis - Zinzi Challenge" />
<meta
name="twitter:description"
content=""
/>
<meta name="twitter:image" content="" />
<script>
window.__gradio_mode__ = "app";
</script>
<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>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin="anonymous"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
<script type="module" crossorigin src="https://gradio.s3-us-west-2.amazonaws.com/3.28.1/assets/index-9040bd4f.js"></script>
</head>
<body
style="
width: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
flex-grow: 1;
"
>
<gradio-app
control_page_title="true"
embed="false"
eager="true"
style="display: flex; flex-direction: column; flex-grow: 1"
>
</gradio-app>
<script>
const ce = document.getElementsByTagName("gradio-app");
if (ce[0]) {
ce[0].addEventListener("domchange", () => {
document.body.style.padding = "0";
});
document.body.style.padding = "0";
}
</script>
</body>
</html>