aadya1762 commited on
Commit
2feb7f6
·
1 Parent(s): 0248731
Files changed (1) hide show
  1. gemmademo/_chat.py +5 -0
gemmademo/_chat.py CHANGED
@@ -129,6 +129,11 @@ class GradioChat:
129
  examples=_get_examples(self.current_task_name),
130
  inputs=chat_interface.textbox,
131
  )
 
 
 
 
 
132
 
133
  demo.launch()
134
 
 
129
  examples=_get_examples(self.current_task_name),
130
  inputs=chat_interface.textbox,
131
  )
132
+ examples_list.change(
133
+ fn=_get_examples,
134
+ inputs=self.current_task_name,
135
+ outputs=examples_list,
136
+ )
137
 
138
  demo.launch()
139