richardkimsm89 commited on
Commit
f56245e
·
verified ·
1 Parent(s): 1ff322a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,3 +1,12 @@
1
  import gradio as gr
2
 
3
- gr.load("models/google/gemma-2-2b-it").launch()
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ gr.load(
4
+ "google/gemma-2-2b-it",
5
+ src = "models",
6
+ inputs = [gr.Textbox(label = "Input")],
7
+ outputs = [gr.Textbox(label = "Output")],
8
+ title = "Demo",
9
+ examples = [
10
+ ["Hello, World."]
11
+ ]
12
+ ).launch()