Spaces:
Runtime error
Runtime error
Mr-Vicky-01
commited on
Update app.py
Browse files
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 {
|
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
|