Fix: Removed share=True and invalid output textbox
Browse files
app.py
CHANGED
@@ -162,7 +162,18 @@ def main_interface():
|
|
162 |
with gr.Blocks(css=css, title="MADGuard AI Explorer") as interface:
|
163 |
gr.HTML(render_page_header())
|
164 |
|
165 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
gr.HTML(render_core_reference())
|
167 |
|
168 |
gr.Markdown("## 1. Pipeline Simulation")
|
@@ -229,7 +240,7 @@ def main_interface():
|
|
229 |
|
230 |
inputs = [file_input, model_col_input, train_col_input, data_source]
|
231 |
outputs = [
|
232 |
-
gr.
|
233 |
pipeline_output,
|
234 |
warning_output,
|
235 |
file_preview,
|
@@ -247,11 +258,11 @@ def main_interface():
|
|
247 |
gr.Markdown(
|
248 |
"""
|
249 |
**The upcoming Pro version of MADGuard will allow:**
|
250 |
-
- Bulk upload
|
251 |
-
-
|
252 |
-
-
|
253 |
|
254 |
-
[**π© Join the waitlist**](https://
|
255 |
"""
|
256 |
)
|
257 |
|
@@ -261,4 +272,4 @@ def main_interface():
|
|
261 |
# Launch the Gradio interface
|
262 |
if __name__ == "__main__":
|
263 |
interface = main_interface()
|
264 |
-
interface.launch(
|
|
|
162 |
with gr.Blocks(css=css, title="MADGuard AI Explorer") as interface:
|
163 |
gr.HTML(render_page_header())
|
164 |
|
165 |
+
gr.Markdown(
|
166 |
+
"""
|
167 |
+
> π§ **MADGuard AI Explorer** helps AI engineers, researchers, and MLOps teams simulate feedback loops in RAG pipelines and detect **Model Autophagy Disorder (MAD)** β where models start learning from their own outputs, leading to degraded performance.
|
168 |
+
|
169 |
+
- Compare **real vs. synthetic input effects**
|
170 |
+
- Visualize the data flow
|
171 |
+
- Upload your `.csv` or `.json` data
|
172 |
+
- Get immediate MAD risk diagnostics based on lexical diversity and semantic similarity
|
173 |
+
"""
|
174 |
+
)
|
175 |
+
|
176 |
+
with gr.Accordion("π Research Reference", open=False):
|
177 |
gr.HTML(render_core_reference())
|
178 |
|
179 |
gr.Markdown("## 1. Pipeline Simulation")
|
|
|
240 |
|
241 |
inputs = [file_input, model_col_input, train_col_input, data_source]
|
242 |
outputs = [
|
243 |
+
gr.Markdown(label="β οΈ Error Message"),
|
244 |
pipeline_output,
|
245 |
warning_output,
|
246 |
file_preview,
|
|
|
258 |
gr.Markdown(
|
259 |
"""
|
260 |
**The upcoming Pro version of MADGuard will allow:**
|
261 |
+
- π Bulk upload support for `.csv` files or folders of `.txt` documents
|
262 |
+
- π Automated batch scoring with trend visualizations over time
|
263 |
+
- π§Ύ One-click export of audit-ready diagnostic reports
|
264 |
|
265 |
+
[**π© Join the waitlist**](https://docs.google.com/forms/d/e/1FAIpQLSfAPPC_Gm7DQElQSWGSnoB6T5hMxb_rXSu48OC8E6TNGZuKgQ/viewform?usp=sharing&ouid=118007615320536574300)
|
266 |
"""
|
267 |
)
|
268 |
|
|
|
272 |
# Launch the Gradio interface
|
273 |
if __name__ == "__main__":
|
274 |
interface = main_interface()
|
275 |
+
interface.launch()
|