Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
classifier = pipeline("
|
5 |
def main():
|
6 |
-
st.title("text-
|
7 |
|
8 |
with st.form("text_field"):
|
9 |
text = st.text_area('enter some text:')
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
classifier = pipeline("image-classification", model="beit-base-patch16-224'")
|
5 |
def main():
|
6 |
+
st.title("text-classification")
|
7 |
|
8 |
with st.form("text_field"):
|
9 |
text = st.text_area('enter some text:')
|