Spaces:
Runtime error
Runtime error
yuhaofeng-shiba
commited on
Commit
·
0580eba
1
Parent(s):
748b107
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ if __name__ == '__main__':
|
|
61 |
init_model()
|
62 |
demo = gr.Interface(
|
63 |
fn=chat,
|
64 |
-
inputs=["text", gr.Slider(1, 60, value=
|
65 |
outputs="text",
|
66 |
)
|
67 |
demo.launch()
|
|
|
61 |
init_model()
|
62 |
demo = gr.Interface(
|
63 |
fn=chat,
|
64 |
+
inputs=["text", gr.Slider(1, 60, value=10, step=1), gr.Slider(0.1, 2.0, value=1.0, step=0.1)],
|
65 |
outputs="text",
|
66 |
)
|
67 |
demo.launch()
|