jhonatanoliveira commited on
Commit
b016b54
1 Parent(s): 2289ec5

test output

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,4 +1,11 @@
1
  import streamlit as st
 
 
2
 
3
  x = st.slider("Select a value")
4
  st.write(x, "squared is", x * x)
 
 
 
 
 
 
1
  import streamlit as st
2
+ from datasets import load_dataset
3
+
4
 
5
  x = st.slider("Select a value")
6
  st.write(x, "squared is", x * x)
7
+
8
+ raw_datasets = load_dataset("squad")
9
+ print("Context: ", raw_datasets["train"][0]["context"])
10
+ print("Question: ", raw_datasets["train"][0]["question"])
11
+ print("Answer: ", raw_datasets["train"][0]["answers"])