Felguk commited on
Commit
fecb126
·
verified ·
1 Parent(s): 24a6e7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):