Update app.py
Browse files
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.",
|