aiDevzz commited on
Commit
ffbf389
1 Parent(s): 588feb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -2,4 +2,9 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  pipe = pipeline('DarwinV1.0')
5
- text = st.text_area('Darwin prompt')
 
 
 
 
 
 
2
  from transformers import pipeline
3
 
4
  pipe = pipeline('DarwinV1.0')
5
+ text = st.text_area('Darwin prompt')
6
+
7
+
8
+ if text:
9
+ out = pipe(text)
10
+ st.json(out)