Spaces:
Runtime error
Runtime error
hermanhelf
commited on
Commit
•
3eb2381
1
Parent(s):
c9156b1
fix block._id
Browse filesthe gr.Slider is a block, and it's value is acquired with ._id field
app.py
CHANGED
@@ -114,7 +114,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
114 |
]
|
115 |
chat_btn.click(
|
116 |
fn=infer,
|
117 |
-
inputs=chat_inputs,
|
|
|
118 |
outputs=chat_outputs,
|
119 |
)
|
120 |
|
|
|
114 |
]
|
115 |
chat_btn.click(
|
116 |
fn=infer,
|
117 |
+
# inputs=chat_inputs,
|
118 |
+
inputs=chat_inputs + [tokens],
|
119 |
outputs=chat_outputs,
|
120 |
)
|
121 |
|