Prathap commited on
Commit
e68e34c
·
1 Parent(s): c54de59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,3 +1,9 @@
1
 
 
2
  import openai
 
 
 
 
 
3
 
 
1
 
2
+ import streamlit as st
3
  import openai
4
+ st.title("Summarize text with OpenAI's API")
5
+ st.write("Summarize text by using OpenAI's beta (you need to enter a valid API key)")
6
+ key = st.text_input("Insert OpenAI API key:")
7
+ temperature = st.slider("Temperature:", min_value = 0.0, max_value = 0.3, step = 0.05)
8
+ prompt = st.text_area("Insert text to summarize:")
9