Spaces:
Sleeping
Sleeping
s-a-malik
commited on
Commit
·
ffed90e
1
Parent(s):
6ede1b7
examples
Browse files
app.py
CHANGED
@@ -248,12 +248,12 @@ with gr.Blocks(title="Llama-2 7B Chat with Dual Probes", css="footer {visibility
|
|
248 |
|
249 |
chat_history = gr.State([])
|
250 |
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
|
258 |
generate_btn.click(
|
259 |
generate,
|
|
|
248 |
|
249 |
chat_history = gr.State([])
|
250 |
|
251 |
+
gr.Examples(
|
252 |
+
examples=EXAMPLES,
|
253 |
+
inputs=[message, system_prompt, chat_history],
|
254 |
+
outputs=[se_output, acc_output],
|
255 |
+
fn=generate,
|
256 |
+
)
|
257 |
|
258 |
generate_btn.click(
|
259 |
generate,
|