Mr-Vicky-01 commited on
Commit
c263ac8
1 Parent(s): fe2b97a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model = AutoModelForCausalLM.from_pretrained("Mr-Vicky-01/Gemma-2B-Finetuined-py
7
 
8
  def generate_code(text):
9
  prompt_template = f"""
10
- <start_of_turn>user based on given instruction create a solution\n\nhere are the instruction {query}
11
  <end_of_turn>\n<start_of_turn>model
12
  """
13
  prompt = prompt_template
 
7
 
8
  def generate_code(text):
9
  prompt_template = f"""
10
+ <start_of_turn>user based on given instruction create a solution\n\nhere are the instruction {text}
11
  <end_of_turn>\n<start_of_turn>model
12
  """
13
  prompt = prompt_template