Tonic commited on
Commit
86a6e5e
β€’
1 Parent(s): fa7e14b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -101,16 +101,12 @@ yi_widgets = pn.Row(
101
  pn.pane.Markdown("### Yi Endpoint: "),
102
  YI_ENDPOINT,
103
  pn.pane.Markdown("### Add Files: "),
104
- RAG,
105
  )
106
  template.main.append(yi_widgets)
107
  RAG = pn.widgets.FileInput(filename="OAI_CONFIG_LIST", sizing_mode="stretch_width")
108
- openai_row = pn.Row( pn.pane.Markdown("### Local YI Mode: "), YI_MODE, txt_model, pwd_openai_key, pwd_openai_url, pwd_aoai_key, pwd_aoai_url, pn.pane.Markdown("### Add Files: "), RAG,pn.pane.Markdown("### Add Config: ") file_cfg)
109
- template.main.append(
110
- pn.Column(
111
- openai_row
112
- )
113
- )
114
 
115
 
116
  def get_config(tmpfilename="OAI_CONFIG_LIST"):
 
101
  pn.pane.Markdown("### Yi Endpoint: "),
102
  YI_ENDPOINT,
103
  pn.pane.Markdown("### Add Files: "),
104
+ RAG
105
  )
106
  template.main.append(yi_widgets)
107
  RAG = pn.widgets.FileInput(filename="OAI_CONFIG_LIST", sizing_mode="stretch_width")
108
+ openai_row = pn.Row( pn.pane.Markdown("### Local YI Mode: "), YI_MODE, txt_model, pwd_openai_key, pwd_openai_url, pwd_aoai_key, pwd_aoai_url, pn.pane.Markdown("### Add Files: "), RAG, pn.pane.Markdown("### Add Config: "), file_cfg)
109
+ template.main.append( pn.Column(openai_row) )
 
 
 
 
110
 
111
 
112
  def get_config(tmpfilename="OAI_CONFIG_LIST"):