Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ HF_TOKEN = os.environ["HF_TOKEN"]
|
|
| 6 |
|
| 7 |
|
| 8 |
# Initialize the text generation pipelines
|
| 9 |
-
pipe = pipeline("text-generation", model="akhaliq/
|
| 10 |
pipe2 = pipeline("text-generation", model="google/gemma-3-270m-it", token=HF_TOKEN)
|
| 11 |
|
| 12 |
def generate_code(user_input, model_choice="Model 1"):
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
# Initialize the text generation pipelines
|
| 9 |
+
pipe = pipeline("text-generation", model="akhaliq/gemma-3-270m-gradio-coder-adapter")
|
| 10 |
pipe2 = pipeline("text-generation", model="google/gemma-3-270m-it", token=HF_TOKEN)
|
| 11 |
|
| 12 |
def generate_code(user_input, model_choice="Model 1"):
|