File size: 264 Bytes
09e93c7
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr
from gemma_model import generate_text

chatbot = gr.Chatbot(
    generate_text,
    title="Gemma-2B-IT Chatbot",
    description="Talk to the Gemma-2B-IT model!",
    width=800,
    height=600,
)

if __name__ == "__main__":
    chatbot.launch()