File size: 394 Bytes
b0461c3
6af141b
 
3bfccb8
0a80503
 
08d8a53
ffbf389
 
 
 
 
540f24d
3bfccb8
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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')