Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 4 |
# Initialize the StarCoder model
|
| 5 |
# Replace 'models/bigcode/starcoder' with the actual model path if different
|
| 6 |
code_generator = pipeline('text-generation', model='google/codegemma-2b')
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
|
| 5 |
# Initialize the StarCoder model
|
| 6 |
# Replace 'models/bigcode/starcoder' with the actual model path if different
|
| 7 |
code_generator = pipeline('text-generation', model='google/codegemma-2b')
|