Spaces:
Sleeping
Sleeping
Commit
·
666a247
1
Parent(s):
fe5351d
additional inputs
Browse files
app.py
CHANGED
@@ -45,8 +45,6 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
45 |
"""
|
46 |
demo = gr.ChatInterface(
|
47 |
respond,
|
48 |
-
)
|
49 |
-
"""
|
50 |
additional_inputs=[
|
51 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
52 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
@@ -60,8 +58,6 @@ demo = gr.ChatInterface(
|
|
60 |
),
|
61 |
],
|
62 |
)
|
63 |
-
"""
|
64 |
-
|
65 |
|
66 |
if __name__ == "__main__":
|
67 |
demo.launch()
|
|
|
45 |
"""
|
46 |
demo = gr.ChatInterface(
|
47 |
respond,
|
|
|
|
|
48 |
additional_inputs=[
|
49 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
50 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
58 |
),
|
59 |
],
|
60 |
)
|
|
|
|
|
61 |
|
62 |
if __name__ == "__main__":
|
63 |
demo.launch()
|