Priti0210 commited on
Commit
616f92a
Β·
1 Parent(s): c71839b

Fix: Removed share=True and invalid output textbox

Browse files
Files changed (1) hide show
  1. app.py +18 -7
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
- with gr.Accordion("πŸ“š Research Reference: arXiv:2307.01850", open=False):
 
 
 
 
 
 
 
 
 
 
 
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.Textbox(label="Error", visible=False), # Hidden error output
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 of .csv or folder of .txt files
251
- - Automatic batch scoring and trend visualization
252
- - Exportable audit reports
253
 
254
- [**πŸ“© Join the waitlist**](https://forms.gle/your-form-link)
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(share=True)
 
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()