hchevva commited on
Commit
fb6988d
·
verified ·
1 Parent(s): f94df25

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -293,6 +293,8 @@ ENDPOINT_QUERY_HINTS: Dict[str, List[str]] = {
293
  "Carcinogenicity": ["carcinogenicity", "tumor", "neoplasm", "cancer", "two-year bioassay"],
294
  }
295
 
 
 
296
 
297
  # =============================
298
  # PDF extraction (text-based PDFs only)
@@ -1913,7 +1915,7 @@ with gr.Blocks(title="Toxicology PDF → Grounded Extractor", css=APP_CSS) as de
1913
  )
1914
  with gr.Row():
1915
  reg_extraction_json = gr.File(label="Upload extraction_details.json", file_types=[".json"], file_count="single")
1916
- reg_framework = gr.Dropdown(label="Framework profile", choices=["FDA CTP", "EPA"], value="FDA CTP")
1917
  reg_override_notes = gr.Textbox(
1918
  label="Override notes (optional)",
1919
  lines=2,
 
293
  "Carcinogenicity": ["carcinogenicity", "tumor", "neoplasm", "cancer", "two-year bioassay"],
294
  }
295
 
296
+ REGULATORY_FRAMEWORK_CHOICES = ["FDA CTP", "EPA", "ISO 10993 (E&L)", "EU CLP/REACH"]
297
+
298
 
299
  # =============================
300
  # PDF extraction (text-based PDFs only)
 
1915
  )
1916
  with gr.Row():
1917
  reg_extraction_json = gr.File(label="Upload extraction_details.json", file_types=[".json"], file_count="single")
1918
+ reg_framework = gr.Dropdown(label="Framework profile", choices=REGULATORY_FRAMEWORK_CHOICES, value="FDA CTP")
1919
  reg_override_notes = gr.Textbox(
1920
  label="Override notes (optional)",
1921
  lines=2,