Spaces:
Sleeping
Sleeping
Commit
·
31285fd
1
Parent(s):
3df293d
without additional inputs
Browse files
app.py
CHANGED
@@ -45,6 +45,8 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
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,6 +60,7 @@ demo = gr.ChatInterface(
|
|
58 |
),
|
59 |
],
|
60 |
)
|
|
|
61 |
|
62 |
|
63 |
if __name__ == "__main__":
|
|
|
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 |
),
|
61 |
],
|
62 |
)
|
63 |
+
"""
|
64 |
|
65 |
|
66 |
if __name__ == "__main__":
|