Spaces:
Running
Running
Dan Flower
commited on
Commit
·
e6920a0
1
Parent(s):
a4e7506
remove experimental python call
Browse files- streamlit_app.py +1 -8
streamlit_app.py
CHANGED
|
@@ -90,8 +90,7 @@ st.set_page_config(
|
|
| 90 |
)
|
| 91 |
|
| 92 |
# Map Streamlit URL paths to lab modules
|
| 93 |
-
|
| 94 |
-
lab_key = query_params.get("lab", [None])[0]
|
| 95 |
|
| 96 |
lab_map = {
|
| 97 |
"prompt-injection": prompt_injection_2025v1,
|
|
@@ -111,11 +110,6 @@ else:
|
|
| 111 |
|
| 112 |
Access a lab directly via one of the following URLs:
|
| 113 |
|
| 114 |
-
#- `/app?lab=prompt-injection`
|
| 115 |
-
#- `/app?lab=insecure-output-handling`
|
| 116 |
-
#- `/app?lab=training-data-poisoning`
|
| 117 |
-
#- `/app?lab=sensitive-information-disclosure`
|
| 118 |
-
|
| 119 |
- [Prompt Injection](?lab=prompt-injection)
|
| 120 |
- [Insecure Output Handling (coming soon)](#)
|
| 121 |
- [Training Data Poisoning (coming soon)](#)
|
|
@@ -127,4 +121,3 @@ else:
|
|
| 127 |
- **Detailed logging**
|
| 128 |
- **Optional RAG integration** where applicable
|
| 129 |
""")
|
| 130 |
-
|
|
|
|
| 90 |
)
|
| 91 |
|
| 92 |
# Map Streamlit URL paths to lab modules
|
| 93 |
+
lab_key = st.query_params.get("lab")
|
|
|
|
| 94 |
|
| 95 |
lab_map = {
|
| 96 |
"prompt-injection": prompt_injection_2025v1,
|
|
|
|
| 110 |
|
| 111 |
Access a lab directly via one of the following URLs:
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
- [Prompt Injection](?lab=prompt-injection)
|
| 114 |
- [Insecure Output Handling (coming soon)](#)
|
| 115 |
- [Training Data Poisoning (coming soon)](#)
|
|
|
|
| 121 |
- **Detailed logging**
|
| 122 |
- **Optional RAG integration** where applicable
|
| 123 |
""")
|
|
|