Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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)
|