aiDevzz commited on
Commit
3bfccb8
1 Parent(s): 540f24d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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 = pipe(out)
 
 
 
 
 
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')