File size: 304 Bytes
ec03c70
 
03a118a
 
 
63429eb
1ee14cb
75168c6
ec03c70
 
 
 
 
 
03a118a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import gradio as gr

gr.load("models/google/gemma-2-2b-it").launch()

"""
gr.load(
    "google/gemma-2-2b-it",
    src = "models",
    inputs = [gr.Textbox(label = "Input")],
    outputs = [gr.Textbox(label = "Output")],
    title = "Demo",
    examples = [
        ["Hello, Gemma."]
    ]
).launch()
"""