Spaces:
Runtime error
Runtime error
Sidebar changes
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def perform_search(pname, keywords, num_results):
|
|
26 |
return (rep_txt)
|
27 |
|
28 |
# Streamlit app
|
29 |
-
st.title("
|
30 |
|
31 |
# Input fields
|
32 |
names_txt = st.text_input("Enter party name (or multiple names separated by ,)")
|
@@ -36,6 +36,10 @@ keywords = st.text_input("Enter other search words:", value=plc_text)
|
|
36 |
st.sidebar.markdown("## Controls")
|
37 |
st.sidebar.markdown("Choose your **search** *parameters*")
|
38 |
num_results = st.sidebar.slider("Choose the number of search results:", 5, 30, 20, 5)
|
|
|
|
|
|
|
|
|
39 |
|
40 |
# Search button
|
41 |
if st.button("Search"):
|
|
|
26 |
return (rep_txt)
|
27 |
|
28 |
# Streamlit app
|
29 |
+
st.title("Adverse News Detection Assistant")
|
30 |
|
31 |
# Input fields
|
32 |
names_txt = st.text_input("Enter party name (or multiple names separated by ,)")
|
|
|
36 |
st.sidebar.markdown("## Controls")
|
37 |
st.sidebar.markdown("Choose your **search** *parameters*")
|
38 |
num_results = st.sidebar.slider("Choose the number of search results:", 5, 30, 20, 5)
|
39 |
+
st.sidebar.markdown("## Model")
|
40 |
+
st.sidebar.markdown("GPT v3.5")
|
41 |
+
st.sidebar.markdown("## App")
|
42 |
+
st.sidebar.markdown("v0.3")
|
43 |
|
44 |
# Search button
|
45 |
if st.button("Search"):
|