zhuohan-7 commited on
Commit
b5e04bc
·
verified ·
1 Parent(s): f8aba47

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app/pages.py +2 -2
  2. app/show_examples.py +6 -5
app/pages.py CHANGED
@@ -198,9 +198,9 @@ def asqa():
198
  filter_1 = st.selectbox('Select Dataset', filters_levelone)
199
 
200
  if filter_1:
201
- draw('asu', 'AC',filter_1, 'llama3_70b_judge')
202
  else:
203
- draw('asu', 'AC', 'Clotho-AQA-Test', 'llama3_70b_judge')
204
 
205
  def er():
206
  st.title("Emotion Recognition")
 
198
  filter_1 = st.selectbox('Select Dataset', filters_levelone)
199
 
200
  if filter_1:
201
+ draw('asu', 'AQA',filter_1, 'llama3_70b_judge')
202
  else:
203
+ draw('asu', 'AQA', 'Clotho-AQA-Test', 'llama3_70b_judge')
204
 
205
  def er():
206
  st.title("Emotion Recognition")
app/show_examples.py CHANGED
@@ -25,7 +25,7 @@ def show_examples(category_name, dataset_name, model_lists):
25
  background-color: #F5EEF8;
26
  padding: 10px;
27
  border-radius: 10px;
28
- height: 50px;
29
  }
30
  </style>
31
  """
@@ -41,7 +41,7 @@ def show_examples(category_name, dataset_name, model_lists):
41
  background-color: #F9EBEA;
42
  padding: 10px;
43
  border-radius: 10px;
44
- height: 50px;
45
  }
46
  </style>
47
  """
@@ -56,7 +56,7 @@ def show_examples(category_name, dataset_name, model_lists):
56
  custom_css = """
57
  <style>
58
  .my-container-table {
59
- background-color: #F8F9F9;
60
  padding: 10px;
61
  border-radius: 5px;
62
  # height: 50px;
@@ -93,7 +93,8 @@ def show_examples(category_name, dataset_name, model_lists):
93
  st.markdown(f"""<div class="my-container-table">
94
  {body_details}
95
  </div>""", unsafe_allow_html=True)
96
-
97
- # st.markdown(body_details, unsafe_allow_html=True)
 
98
 
99
 
 
25
  background-color: #F5EEF8;
26
  padding: 10px;
27
  border-radius: 10px;
28
+ height: auto;
29
  }
30
  </style>
31
  """
 
41
  background-color: #F9EBEA;
42
  padding: 10px;
43
  border-radius: 10px;
44
+ height: auto;
45
  }
46
  </style>
47
  """
 
56
  custom_css = """
57
  <style>
58
  .my-container-table {
59
+ background-color: #F2F3F4;
60
  padding: 10px;
61
  border-radius: 5px;
62
  # height: 50px;
 
93
  st.markdown(f"""<div class="my-container-table">
94
  {body_details}
95
  </div>""", unsafe_allow_html=True)
96
+
97
+ st.text("")
98
+
99
 
100