Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Maddy90
/
LargeGPT-ZeroShot
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Maddy90
commited on
Jul 22, 2024
Commit
95fb164
·
verified
·
1 Parent(s):
b3b8dc8
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+9
-0
app.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
Use Auto-tokenizer
2
+
3
+
import streamlit as st
4
+
from transformers import pipeline
5
+
6
+
7
+
if text:
8
+
out = pipe(text)
9
+
st.json(out)