akhooli commited on
Commit
3a1b4ff
1 Parent(s): 2ea5820

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ poetry = gr.Interface(fn=sayPoetry,
45
  gr.Slider(25, 100, step=1,value=50, label='control top k'),
46
  gr.Slider(0.80, 1.0, step=0.01,value=1.0, label='control top p'),
47
  gr.Slider(0.90, 1.20, step=0.01,value=1.0, label='control penalty'),
48
- gr.Number(default=139750, label='Seed'),
49
  ],
50
  outputs=[gr.Textbox(label="Generated Poetry:")],
51
 
@@ -55,4 +55,4 @@ poetry = gr.Interface(fn=sayPoetry,
55
  examples=samples,
56
  cache_examples=False,
57
  article = notes)
58
- poetry.launch(show_error = True)
 
45
  gr.Slider(25, 100, step=1,value=50, label='control top k'),
46
  gr.Slider(0.80, 1.0, step=0.01,value=1.0, label='control top p'),
47
  gr.Slider(0.90, 1.20, step=0.01,value=1.0, label='control penalty'),
48
+ gr.Number(value=139750, precision=0, label='Seed'),
49
  ],
50
  outputs=[gr.Textbox(label="Generated Poetry:")],
51
 
 
55
  examples=samples,
56
  cache_examples=False,
57
  article = notes)
58
+ poetry.launch(show_error = True, debug=True)