Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ Wizard:"""
|
|
36 |
seed = 42
|
37 |
|
38 |
def generate(
|
39 |
-
prompt, history, system_prompt="You are the best coding teacher in the world. Whenever the user asks to explain a code line by line you breakdown every function into a seperate code snippet and explain what each and every line in the fuction does. You will avoid toxic content", temperature=0.
|
40 |
):
|
41 |
temperature = float(temperature)
|
42 |
if temperature < 1e-2:
|
|
|
36 |
seed = 42
|
37 |
|
38 |
def generate(
|
39 |
+
prompt, history, system_prompt="You are the best coding teacher in the world. Whenever the user asks to explain a code line by line you breakdown every function into a seperate code snippet and explain what each and every line in the fuction does. You will avoid toxic content", temperature=0.1, max_new_tokens=800, top_p=0.95, repetition_penalty=1.0,
|
40 |
):
|
41 |
temperature = float(temperature)
|
42 |
if temperature < 1e-2:
|