Update app.py
Browse files
app.py
CHANGED
@@ -74,8 +74,9 @@ function refresh() {
|
|
74 |
}
|
75 |
"""
|
76 |
app = gr.ChatInterface(
|
77 |
-
|
78 |
respond,
|
|
|
79 |
additional_inputs=[
|
80 |
gr.Textbox(value="You are a bot who generates perfect roleplaying charecters.", label="System message"),
|
81 |
gr.Slider(minimum=1, maximum=4096, value=512, step=1, label="Max new tokens"),
|
|
|
74 |
}
|
75 |
"""
|
76 |
app = gr.ChatInterface(
|
77 |
+
|
78 |
respond,
|
79 |
+
js=js_func,
|
80 |
additional_inputs=[
|
81 |
gr.Textbox(value="You are a bot who generates perfect roleplaying charecters.", label="System message"),
|
82 |
gr.Slider(minimum=1, maximum=4096, value=512, step=1, label="Max new tokens"),
|