Spaces:
Runtime error
Runtime error
fix bugs for semantic transfer info
Browse files
app.py
CHANGED
|
@@ -84,6 +84,9 @@ def retrieve_transferability_information():
|
|
| 84 |
index=0,
|
| 85 |
)
|
| 86 |
|
|
|
|
|
|
|
|
|
|
| 87 |
shot = st.selectbox(
|
| 88 |
"Select Shot",
|
| 89 |
options=[0, 3],
|
|
|
|
| 84 |
index=0,
|
| 85 |
)
|
| 86 |
|
| 87 |
+
if attack_name == "Semantic":
|
| 88 |
+
attack_name = "translation"
|
| 89 |
+
|
| 90 |
shot = st.selectbox(
|
| 91 |
"Select Shot",
|
| 92 |
options=[0, 3],
|