SoDehghan commited on
Commit
83f0f91
·
verified ·
1 Parent(s): a49e5d7

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -31
app.py DELETED
@@ -1,31 +0,0 @@
1
-
2
- import awesome_streamlit as ast
3
- import streamlit as st
4
- import requests
5
- import time
6
- from transformers import pipeline
7
- import os
8
-
9
- import hsd_tr
10
-
11
-
12
- st.set_page_config(
13
- page_title="Hate Speech Detection",
14
- page_icon="",
15
- layout='wide'
16
- )
17
-
18
- PAGES = {
19
- "HSD in Turkish": hsd_tr
20
-
21
-
22
- }
23
-
24
- st.sidebar.title("Models")
25
- selection = st.sidebar.radio("Pages", list(PAGES.keys()))
26
-
27
- page = PAGES[selection]
28
- # with st.spinner(f"Loading {selection} ..."):
29
- ast.shared.components.write_page(page)
30
-
31
- st.sidebar.header("Info")