ayush5710 commited on
Commit
65f8a49
·
1 Parent(s): 18d7d2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.1, max_new_tokens=800, top_p=0.95, repetition_penalty=1.0,
40
  ):
41
  temperature = float(temperature)
42
  if temperature < 1e-2:
 
36
  seed = 42
37
 
38
  def generate(
39
+ prompt, history, system_prompt="", temperature=0.2, max_new_tokens=800, top_p=0.95, repetition_penalty=1.0,
40
  ):
41
  temperature = float(temperature)
42
  if temperature < 1e-2: