MesonWarrior commited on
Commit
0933f21
1 Parent(s): b4a5d30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -17,7 +17,7 @@ def generate_text(
17
  tokenizer='MesonWarrior/gpt2-vk-bugro',
18
  min_length=min_length,
19
  max_length=max_length,
20
- do_not_truncate=do_not_truncate,
21
  use_auth_token=True
22
  )
23
 
@@ -50,10 +50,10 @@ def interface():
50
  label="Max Length",
51
  )
52
 
53
- do_not_truncate = gr.Checkbox(
54
- True,
55
- label="Do not truncate"
56
- )
57
  with gr.Column():
58
  with gr.Row():
59
  generate_btn = gr.Button(
 
17
  tokenizer='MesonWarrior/gpt2-vk-bugro',
18
  min_length=min_length,
19
  max_length=max_length,
20
+ # do_not_truncate=do_not_truncate,
21
  use_auth_token=True
22
  )
23
 
 
50
  label="Max Length",
51
  )
52
 
53
+ # do_not_truncate = gr.Checkbox(
54
+ # True,
55
+ # label="Do not truncate"
56
+ # )
57
  with gr.Column():
58
  with gr.Row():
59
  generate_btn = gr.Button(