zmbfeng commited on
Commit
128b743
·
verified ·
1 Parent(s): 9e24d40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,6 +19,7 @@ def create_response_original(input_str,
19
  top_p,
20
  top_k,
21
  do_sample):
 
22
  print("num_beams=" + str(num_beams))
23
  print("num_return_sequences" + str(num_return_sequences))
24
  print("top_p" + str(top_p))
@@ -61,7 +62,7 @@ interface1 = gr.Interface(fn=create_response_original,
61
  title="original",
62
  description="original language model, no fine tuning",
63
  examples=[
64
- ["What is death?"], # The first example
65
  ["One of the best teachers in all of life turns out to be what?"], # The second example
66
  ["what is your most meaningful relationship?"], # The third example
67
  ["What actually gives life meaning?"]
 
19
  top_p,
20
  top_k,
21
  do_sample):
22
+ print("input_str="+input_str)
23
  print("num_beams=" + str(num_beams))
24
  print("num_return_sequences" + str(num_return_sequences))
25
  print("top_p" + str(top_p))
 
62
  title="original",
63
  description="original language model, no fine tuning",
64
  examples=[
65
+ ["What is death?",7,5,0.2,1.5,0.9,50,True], # The first example
66
  ["One of the best teachers in all of life turns out to be what?"], # The second example
67
  ["what is your most meaningful relationship?"], # The third example
68
  ["What actually gives life meaning?"]