Satyam-Singh commited on
Commit
09e93c7
·
verified ·
1 Parent(s): e643b9e

Create chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +13 -0
chatbot.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from gemma_model import generate_text
3
+
4
+ chatbot = gr.Chatbot(
5
+ generate_text,
6
+ title="Gemma-2B-IT Chatbot",
7
+ description="Talk to the Gemma-2B-IT model!",
8
+ width=800,
9
+ height=600,
10
+ )
11
+
12
+ if __name__ == "__main__":
13
+ chatbot.launch()