Shriharsh commited on
Commit
e879cf2
·
verified ·
1 Parent(s): 0eb47a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -45,6 +45,9 @@ def chat_inf(system_prompt,prompt,history,seed,temp,tokens,top_p,rep_p):
45
  history.append((prompt,output))
46
  yield history
47
 
 
 
 
48
  def check_rand(inp,val):
49
  if inp==True:
50
  return gr.Slider(label="Seed", minimum=1, maximum=1111111111111111, value=random.randint(1,1111111111111111))
 
45
  history.append((prompt,output))
46
  yield history
47
 
48
+ def clear_fn():
49
+ return None
50
+
51
  def check_rand(inp,val):
52
  if inp==True:
53
  return gr.Slider(label="Seed", minimum=1, maximum=1111111111111111, value=random.randint(1,1111111111111111))