Spaces:
Sleeping
Sleeping
Upload medication_copilot.py
Browse files- 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=["
|
74 |
)
|
75 |
|
76 |
api_key = gr.Textbox(
|
77 |
-
label="OpenAI API Key",
|
|
|
|
|
|
|
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")
|