File size: 429 Bytes
f1d3f13
 
4c0deef
 
3107216
 
 
 
 
4c0deef
 
 
3107216
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr

# Define the examples
examples = [
    "What is the most common cause of heart disease?",
    "Can you explain the symptoms of diabetes?",
    "What are the treatment options for cancer?",
    "How does vaccination work?",
    "Explain the process of photosynthesis.",
]

# Load the Gradio interface
gr.Interface.load("dmis-lab/biobert-large-cased-v1.1-squad",
                   examples=examples).launch()