Spaces:
Runtime error
Runtime error
Update chatchain.py
Browse files- chatchain.py +2 -1
chatchain.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import os
|
2 |
import json
|
3 |
import hashlib
|
@@ -39,7 +40,7 @@ def update_rec_list(main_chain):
|
|
39 |
except Exception:
|
40 |
pass
|
41 |
print (f'REC_LIST : : {rec_list}')
|
42 |
-
return rec_list
|
43 |
|
44 |
class MyChainSend:
|
45 |
|
|
|
1 |
+
import gradio as gr
|
2 |
import os
|
3 |
import json
|
4 |
import hashlib
|
|
|
40 |
except Exception:
|
41 |
pass
|
42 |
print (f'REC_LIST : : {rec_list}')
|
43 |
+
return rec_list, gr.Dropdown.update(label="Recipient", choices=[f for f in rec_list])
|
44 |
|
45 |
class MyChainSend:
|
46 |
|