omri374 commited on
Commit
71d2e12
·
verified ·
1 Parent(s): d1679a6

Upload medication_copilot.py

Browse files
Files changed (1) hide show
  1. medication_copilot.py +5 -2
medication_copilot.py CHANGED
@@ -70,11 +70,14 @@ with gr.Blocks(theme=gr.themes.Glass()) as app:
70
  with gr.Sidebar():
71
  gr.Markdown("### Configuration")
72
  llm_type = gr.Radio(
73
- choices=["OpenAI", "Perplexity"], label="LLM Type", value="Perplexity"
74
  )
75
 
76
  api_key = gr.Textbox(
77
- label="OpenAI API Key", placeholder="Enter OpenAI API Key", interactive=True
 
 
 
78
  )
79
 
80
  gr.Markdown("### Upload existing data")
 
70
  with gr.Sidebar():
71
  gr.Markdown("### Configuration")
72
  llm_type = gr.Radio(
73
+ choices=["Perplexity", "OpenAI"], label="LLM Type", value="Perplexity"
74
  )
75
 
76
  api_key = gr.Textbox(
77
+ label="OpenAI API Key",
78
+ placeholder="Enter OpenAI API Key",
79
+ interactive=True,
80
+ type="password"
81
  )
82
 
83
  gr.Markdown("### Upload existing data")