Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
|
|
4 |
st.title('DarwinV1.0')
|
5 |
st.text('DarwinV1.0 Model: https://huggingface.co/aiDevzz/DarwinV1.0')
|
6 |
pipe = pipeline('sentiment-analysis')
|
@@ -10,4 +11,8 @@ text = st.text_area('Darwin prompt')
|
|
10 |
if text:
|
11 |
out = pipe(text)
|
12 |
st.json(out)
|
13 |
-
text
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
|
5 |
st.title('DarwinV1.0')
|
6 |
st.text('DarwinV1.0 Model: https://huggingface.co/aiDevzz/DarwinV1.0')
|
7 |
pipe = pipeline('sentiment-analysis')
|
|
|
11 |
if text:
|
12 |
out = pipe(text)
|
13 |
st.json(out)
|
14 |
+
st.text('Darwin Output')
|
15 |
+
}
|
16 |
+
|
17 |
+
st.text('Darwin >detects< <Negative - positive> Prompts')
|
18 |
+
st.button('go to model Page')
|