03chrisk commited on
Commit
1694463
·
1 Parent(s): 7961dcc

working???

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -1,15 +1,5 @@
1
  from transformers import pipeline
2
  import streamlit as st
3
 
4
- model = pipeline(
5
- "summarization",
6
- )
7
-
8
- def predict(prompt):
9
- summary = model(prompt)[0]["summary_text"]
10
- return summary
11
-
12
-
13
- # create an interface for the model
14
- with st.Interface(predict, "textbox", "text") as interface:
15
- interface.launch()
 
1
  from transformers import pipeline
2
  import streamlit as st
3
 
4
+ # simple streamlit app saying hello world
5
+ st.write("Hello, World!")