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

gr.Examples(
        examples=[
            'Hello there! How are you doing?',
            'Can you explain briefly to me what is the Python programming language?',
            'Explain the plot of Cinderella in a sentence.',
            'How many hours does it take a man to eat a Helicopter?',
            "Write a 100-word article on 'Benefits of Open-Source in AI research'",
        ],
        
    )

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