alexpap commited on
Commit
cd270a3
1 Parent(s): d7a4684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoTokenizer, AutoModelForQuestionAnswering, pipeline
4
  st.title('Question-Answering NLU')
5
 
6
  st.sidebar.title('Navigation')
7
- menu = st.sidebar.radio("", options=["Introduction", "Parsing NLU data into SQuAD 2.0", "Generating Questions", "Training",
8
  "Evaluation"], index=0)
9
 
10
 
@@ -81,7 +81,15 @@ elif menu == "Parsing NLU data into SQuAD 2.0":
81
  ````
82
  ''')
83
 
84
- from atis import *
 
 
 
 
 
 
 
 
85
 
86
 
87
  elif menu == "Evaluation":
 
4
  st.title('Question-Answering NLU')
5
 
6
  st.sidebar.title('Navigation')
7
+ menu = st.sidebar.radio("", options=["Introduction", "Parsing NLU data into SQuAD 2.0", "Training",
8
  "Evaluation"], index=0)
9
 
10
 
 
81
  ````
82
  ''')
83
 
84
+ dataset = st.text_input(
85
+ 'Please enter the context:',
86
+ value="I want a cheap flight to Boston."
87
+ )
88
+
89
+ questions = st.text_input(
90
+ 'Please enter the question:',
91
+ value="What is the destination?"
92
+ )
93
 
94
 
95
  elif menu == "Evaluation":