raja5259 commited on
Commit
fa30377
·
verified ·
1 Parent(s): ecbc9b9

update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,8 +19,8 @@ if torch.cuda.is_available():
19
  torch.cuda.manual_seed(1337)
20
 
21
  # STOP
22
- num_return_sequences = 5
23
- max_length = 30
24
 
25
 
26
  import gradio as gr
@@ -48,7 +48,7 @@ demo = gr.Interface(
48
  ["1", "2", "3", "4", "5", "6", "8", "10"],
49
  label="Number of Return Sequences",
50
  info="Choose how many return sequences are required in output.",
51
- value="30"
52
  )
53
  ],
54
  [
 
19
  torch.cuda.manual_seed(1337)
20
 
21
  # STOP
22
+ # num_return_sequences = 5
23
+ # max_length = 30
24
 
25
 
26
  import gradio as gr
 
48
  ["1", "2", "3", "4", "5", "6", "8", "10"],
49
  label="Number of Return Sequences",
50
  info="Choose how many return sequences are required in output.",
51
+ value="5"
52
  )
53
  ],
54
  [