This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __path__ = "/Users/abhishekpatnaik/Documents/text_classifier/emotion_detection/model_emotion.bin" | |
| model = fasttext.load_model(__path__) | |
| sentence_input = st.text_input("Enter your sentence(Press Enter to apply)") | |
| prediction = model.predict(sentence_input) | |
| prediction_text = str(prediction[0][0]).upper() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import streamlit as st | |
| from spacy_streamlit import visualize_ner | |
| # To make things easier later, we're also importing numpy and pandas for | |
| # working with sample data. | |
| import numpy as np | |
| import pandas as pd | |
| import fasttext | |
| import spacy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import streamlit as st | |
| import pandas as pd | |
| import numpy as np | |
| st.title('Our First Web-App with streamlit') | |
| st.text('Analyze random data') | |
| st.write("Here's our first attempt at using data to create a table:") | |
| st.write(pd.DataFrame({ | |
| 'first column': [1, 2, 3, 4], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en-IN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image"> | |
| <title>site:http://quantamixsolutions.com/ - Google Search</title> | |
| <script nonce="tRDUB1R+NzW78QPNa+Wdxg==">(function () { | |
| document.documentElement.addEventListener("submit", function (b) { var a; if (a = b.target) { var c = a.getAttribute("data-submitfalse"); a = "1" == c || "q" == c && !a.elements.q.value ? !0 : !1 } else a = !1; a && (b.preventDefault(), b.stopPropagation()) }, !0); | |
| }).call(this); (function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> | |
| <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> | |
| <style> | |
| .flex-container { | |
| display:flex; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| .flex-container { | |
| display: flex; | |
| } | |
| .flex-container > div { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package tictactoe; | |
| import java.util.Scanner; | |
| public class TicTacToe { | |
| static Scanner in = new Scanner(System.in); | |
| static String board[][] = new String[3][3]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<stdlib.h> | |
| #include<omp.h> | |
| using namespace std; | |
| int binary(int *, int, int, int); | |
| int binary(int *a, int low, int high, int key) | |
| { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<stdlib.h> | |
| #include<queue> | |
| using namespace std; | |
| class node | |
| { | |
| public: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| #include<stdlib.h> | |
| #include<omp.h> | |
| using namespace std; | |
| void mergesort(int a[],int i,int j); | |
| void merge(int a[],int i1,int j1,int i2,int j2); | |
| void mergesort(int a[],int i,int j) |
NewerOlder