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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +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
  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.",
 
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.",