Spaces:
Runtime error
Runtime error
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() | |