Spaces:
Sleeping
Sleeping
import streamlit as st | |
from transformers import pipeline | |
st.title('DarwinV1.0') | |
st.text('DarwinV1.0 Model: https://huggingface.co/aiDevzz/DarwinV1.0') | |
pipe = pipeline('sentiment-analysis') | |
text = st.text_area('Darwin prompt') | |
if text: | |
out = pipe(text) | |
st.json(out) | |
st.text('Darwin Output') | |
st.text('Darwin >detects< <Negative - positive> Prompts') | |
st.button('go to model Page') |