Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -136,18 +136,19 @@ def setup_page_banner():
|
|
136 |
st.write('*A Quantitative T2I Bias Evaluation Tool*')
|
137 |
def setup_how_to():
|
138 |
expander = st.expander("How to Use")
|
139 |
-
expander.write("1.
|
140 |
-
"2.
|
|
|
141 |
expander.image(Image.open('./assets/HF_MODEL_ID_EXAMPLE.png'))
|
142 |
-
expander.write("
|
143 |
expander.image(Image.open('./assets/lykon_corgi.png'))
|
144 |
-
expander.write("
|
145 |
" to evaluate your model once it has been loaded\n"
|
146 |
-
"
|
147 |
-
"
|
148 |
-
"
|
149 |
" '\U0001F4F0 Additional Information' tab for a TL;DR.\n"
|
150 |
-
"
|
151 |
|
152 |
def setup_additional_information_tab(tab):
|
153 |
with tab:
|
|
|
136 |
st.write('*A Quantitative T2I Bias Evaluation Tool*')
|
137 |
def setup_how_to():
|
138 |
expander = st.expander("How to Use")
|
139 |
+
expander.write("1. Watch our tutorial video series on [YouTube](https://www.youtube.com/channel/UCk-0xyUyT0MSd_hkp4jQt1Q)\n"
|
140 |
+
"2. Login to your TBYB Account using the bar on the left\n"
|
141 |
+
"3. Navigate to the '\U0001F527 Setup' tab and input the ID of the HuggingFace \U0001F917 T2I model you want to evaluate\n")
|
142 |
expander.image(Image.open('./assets/HF_MODEL_ID_EXAMPLE.png'))
|
143 |
+
expander.write("4. Test your chosen model by generating an image using an input prompt e.g.: 'A corgi with some cool sunglasses'\n")
|
144 |
expander.image(Image.open('./assets/lykon_corgi.png'))
|
145 |
+
expander.write("5. Navigate to the '\U0001F30E Bias Evaluation (BEval)' or '\U0001F3AF Task-Oriented BEval' tabs "
|
146 |
" to evaluate your model once it has been loaded\n"
|
147 |
+
"6. Once you have generated some evaluation images, head over to the '\U0001F4C1 Generated Images' tab to have a look at them\n"
|
148 |
+
"7. To check out your evaluations or all of the TBYB Community evaluations, head over to the '\U0001F4CA Model Comparison' tab\n"
|
149 |
+
"8. For more information about the evaluation process, see our paper at --PAPER HYPERLINK-- or navigate to the "
|
150 |
" '\U0001F4F0 Additional Information' tab for a TL;DR.\n"
|
151 |
+
"9. For any questions or to report any bugs/issues. Please contact jordan.vice@uwa.edu.au.\n")
|
152 |
|
153 |
def setup_additional_information_tab(tab):
|
154 |
with tab:
|