ANASAKHTAR commited on
Commit
c37ddf6
·
verified ·
1 Parent(s): 24f8784

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
  # Use a pipeline as a high-level helper
6
  from transformers import pipeline
7
 
8
- code_writer = pipeline("text-generation", model="Qwen/Qwen2.5-Coder-32B-Instruct",torch_dtype=torch.bfloat16 )
9
 
10
  # Define the code generation function
11
  def generate_code(prompt, max_length):
 
5
  # Use a pipeline as a high-level helper
6
  from transformers import pipeline
7
 
8
+ code_writer = pipeline("text-generation", model="Qwen/Qwen2.5-Coder-7B-Instruct",torch_dtype=torch.bfloat16 )
9
 
10
  # Define the code generation function
11
  def generate_code(prompt, max_length):