Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
|
4 |
# Load a custom model (replace with your DeepSeek model)
|
5 |
# Example: Using a Hugging Face model as a placeholder
|
6 |
-
code_generator = pipeline("text-generation", model="deepseek-ai/deepseek-coder") # Replace with your DeepSeek model
|
7 |
|
8 |
# Function to generate code
|
9 |
def generate_code(prompt, file_type):
|
|
|
3 |
|
4 |
# Load a custom model (replace with your DeepSeek model)
|
5 |
# Example: Using a Hugging Face model as a placeholder
|
6 |
+
code_generator = pipeline("text-generation", model="deepseek-ai/deepseek-coder-1.3b-instruct") # Replace with your DeepSeek model
|
7 |
|
8 |
# Function to generate code
|
9 |
def generate_code(prompt, file_type):
|