zavavan commited on
Commit
6780c01
·
verified ·
1 Parent(s): 28d9005

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -24,9 +24,7 @@ def generate_relations(text):
24
  # Gradio interface
25
  demo = gr.Interface(
26
  fn=generate_relations,
27
- inputs=gr.Textbox(lines=10, label="Clinical Note or Drug Review Text"),
28
- inputs=gr.Textbox(lines=1, label="Entity 1"),
29
- inputs=gr.Textbox(lines=1, label="Entity 2"),
30
  outputs=gr.Textbox(label="Extracted Causal Relations"),
31
  title="Causal Relation Extractor with MedLlama",
32
  description="Paste your clinical note or drug review. This AI agent extracts drug-condition or symptom causal relations using a fine-tuned LLM.",
 
24
  # Gradio interface
25
  demo = gr.Interface(
26
  fn=generate_relations,
27
+ inputs=gr.Textbox(lines=10, label="Clinical Note or Drug Review Text")
 
 
28
  outputs=gr.Textbox(label="Extracted Causal Relations"),
29
  title="Causal Relation Extractor with MedLlama",
30
  description="Paste your clinical note or drug review. This AI agent extracts drug-condition or symptom causal relations using a fine-tuned LLM.",