Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Vineedhar
/
Medical_papers_inference_TinyLLama
like
0
Sleeping
App
Files
Files
Community
bc324c0
Medical_papers_inference_TinyLLama
/
app.py
Vineedhar
Create app.py
bc324c0
verified
6 months ago
raw
Copy download link
history
blame
183 Bytes
import
streamlit
as
st
from
tranformers
import
pipeline
pipe = peipeline(
"sentiment analysis"
)
text = st.text_area(
"enter some text!"
)
if
text:
out = pipe(text)
st.json(out)