Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
gr.load(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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()
|