Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
| 3 |
|
| 4 |
model_id = "google/gemma-2-9b" # You can replace this with any model of your choice
|
| 5 |
|
| 6 |
-
generator = pipeline("text-generation", model=model_id
|
| 7 |
|
| 8 |
# Define the function to process the input and generate text
|
| 9 |
def generate_text(prompt):
|
|
|
|
| 3 |
|
| 4 |
model_id = "google/gemma-2-9b" # You can replace this with any model of your choice
|
| 5 |
|
| 6 |
+
generator = pipeline("text-generation", model=model_id)
|
| 7 |
|
| 8 |
# Define the function to process the input and generate text
|
| 9 |
def generate_text(prompt):
|