Saicharan21 commited on
Commit
938301f
·
verified ·
1 Parent(s): 7b35da4

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1189,7 +1189,7 @@ with gr.Blocks(title="CardioLab AI v39 - SJSU", css=CSS) as demo:
1189
  with gr.Column(scale=1, min_width=200):
1190
  gr.HTML(SIDEBAR_HTML)
1191
  new_chat_btn = gr.Button("New Chat", variant="secondary")
1192
- session_dropdown = gr.Dropdown(choices=get_session_list(), label="Saved Sessions", interactive=True)
1193
  load_btn = gr.Button("Load Session", variant="primary")
1194
  session_name_box = gr.Textbox(placeholder="Session name...", label="", lines=1, container=False)
1195
  with gr.Row():
@@ -1204,7 +1204,7 @@ with gr.Blocks(title="CardioLab AI v39 - SJSU", css=CSS) as demo:
1204
  label="", lines=2, scale=4, container=False
1205
  )
1206
  with gr.Column(scale=1, min_width=160):
1207
- chat_model_dd = gr.Dropdown(
1208
  choices=list(CHAT_MODELS.keys()),
1209
  value="Llama 3.3 70B (Best)", label="AI Model"
1210
  )
 
1189
  with gr.Column(scale=1, min_width=200):
1190
  gr.HTML(SIDEBAR_HTML)
1191
  new_chat_btn = gr.Button("New Chat", variant="secondary")
1192
+ session_dropdown = gr.Dropdown(choices=get_session_list(), label="Saved Sessions", interactive=True, allow_custom_value=True)
1193
  load_btn = gr.Button("Load Session", variant="primary")
1194
  session_name_box = gr.Textbox(placeholder="Session name...", label="", lines=1, container=False)
1195
  with gr.Row():
 
1204
  label="", lines=2, scale=4, container=False
1205
  )
1206
  with gr.Column(scale=1, min_width=160):
1207
+ chat_model_dd = gr.Radio(
1208
  choices=list(CHAT_MODELS.keys()),
1209
  value="Llama 3.3 70B (Best)", label="AI Model"
1210
  )