chansung commited on
Commit
c651799
1 Parent(s): 349c343

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -4,6 +4,10 @@ from styles import MODEL_SELECTION_CSS
4
  from js import GET_LOCAL_STORAGE, UPDATE_LEFT_BTNS_STATE, UPDATE_PLACEHOLDERS
5
  from templates import templates
6
 
 
 
 
 
7
  with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
8
  with gr.Column(visible=False) as chat_view:
9
  idx = gr.State(0)
 
4
  from js import GET_LOCAL_STORAGE, UPDATE_LEFT_BTNS_STATE, UPDATE_PLACEHOLDERS
5
  from templates import templates
6
 
7
+ chl_file = open("channels.txt", "r")
8
+ channels = chl_file.read().split("\n")
9
+ channel_btns = []
10
+
11
  with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
12
  with gr.Column(visible=False) as chat_view:
13
  idx = gr.State(0)