aisafe commited on
Commit
72d0e1c
·
1 Parent(s): d005f3c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -0
app.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import plotly.graph_objects as go
3
+ from transformers import pipeline
4
+ import re
5
+ import time
6
+ import requests
7
+ from PIL import Image
8
+ import itertools
9
+ import numpy as np
10
+ import matplotlib.pyplot as plt
11
+ from matplotlib.colors import rgb2hex
12
+ import matplotlib
13
+ from matplotlib.colors import ListedColormap, rgb2hex
14
+ import ipywidgets as widgets
15
+ from IPython.display import display, HTML
16
+ import re
17
+ import pandas as pd
18
+ from pprint import pprint
19
+ from tenacity import retry
20
+ from tqdm import tqdm
21
+ import tiktoken
22
+ import scipy.stats
23
+ import torch
24
+ from transformers import GPT2LMHeadModel
25
+ import tiktoken
26
+ import seaborn as sns
27
+ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
28
+ # from colorama import Fore, Style
29
+ import openai # for OpenAI API calls
30
+
31
+ import streamlit as st
32
+ st.image('image.png', caption='Traditional Taxtual Entailment vs Factual Entailment')