g8a9 commited on
Commit
97ba57c
1 Parent(s): c354f71

revert layout

Browse files
Files changed (2) hide show
  1. corpus.py +6 -9
  2. single.py +2 -5
corpus.py CHANGED
@@ -56,15 +56,12 @@ def body():
56
  help="Class label you want to explain.",
57
  )
58
 
59
- cols = st.columns([5, 1])
60
- with cols[0]:
61
- samples_string = st.text_input(
62
- "List of samples",
63
- "11,6,42",
64
- help="List of indices in the dataset, comma-separated.",
65
- )
66
- with cols[1]:
67
- compute = st.button("Run")
68
 
69
  samples = list(map(int, samples_string.split(",")))
70
 
 
56
  help="Class label you want to explain.",
57
  )
58
 
59
+ samples_string = st.text_input(
60
+ "List of samples",
61
+ "11,6,42",
62
+ help="List of indices in the dataset, comma-separated.",
63
+ )
64
+ compute = st.button("Run")
 
 
 
65
 
66
  samples = list(map(int, samples_string.split(",")))
67
 
single.py CHANGED
@@ -60,11 +60,8 @@ def body():
60
  help="Class label you want to explain.",
61
  )
62
 
63
- cols = st.columns([5, 1])
64
- with cols[0]:
65
- text = st.text_input("Text", "I love your style!")
66
- with cols[1]:
67
- compute = st.button("Run")
68
 
69
  if compute and model_name:
70
 
 
60
  help="Class label you want to explain.",
61
  )
62
 
63
+ text = st.text_input("Text", "I love your style!")
64
+ compute = st.button("Run")
 
 
 
65
 
66
  if compute and model_name:
67