myshirk commited on
Commit
0deac40
1 Parent(s): 31a82df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
 
3
- def show_model():
4
  return
5
 
6
  def main():
@@ -13,7 +13,8 @@ def main():
13
 
14
  st.image("pres-whatisnoaa.png")
15
 
16
- st.write("### Uses service called OneStop for data search")
 
17
  st.write("**Problems:**")
18
  st.write("- Uses keyword search -- not robust to natural language queries")
19
  #st.image("pres-onestop.png")
@@ -30,6 +31,10 @@ def main():
30
 
31
  st.write("## Results and Demo")
32
 
 
 
 
 
33
  st.image("pres-futureplans.png")
34
 
35
  main()
 
1
  import streamlit as st
2
 
3
+ def show_model(query):
4
  return
5
 
6
  def main():
 
13
 
14
  st.image("pres-whatisnoaa.png")
15
 
16
+ st.write("## The Problem Context")
17
+ st.write("Uses service called OneStop for data search")
18
  st.write("**Problems:**")
19
  st.write("- Uses keyword search -- not robust to natural language queries")
20
  #st.image("pres-onestop.png")
 
31
 
32
  st.write("## Results and Demo")
33
 
34
+ query = st.text_input("Enter your query:")
35
+
36
+ results = show_model(query)
37
+
38
  st.image("pres-futureplans.png")
39
 
40
  main()