kenton-li commited on
Commit
2b7a8c1
·
1 Parent(s): 63b35e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -118,7 +118,8 @@ def csv_prompter(question,csv_name):
118
  with gr.Blocks() as demo:
119
  gr.Markdown("# Autonomous ChatDoctor (openai version), based on disease database knowledge")
120
  gr.Markdown("## Example: If I have frontal headache, fever, and painful sinuses, what disease should I have, and what medical test should I take?")
121
-
 
122
 
123
  chatbot = gr.Chatbot()
124
  msg = gr.Textbox()
 
118
  with gr.Blocks() as demo:
119
  gr.Markdown("# Autonomous ChatDoctor (openai version), based on disease database knowledge")
120
  gr.Markdown("## Example: If I have frontal headache, fever, and painful sinuses, what disease should I have, and what medical test should I take?")
121
+ openai_api_key_textbox = gr.Textbox(placeholder="Paste your OpenAI API key (sk-...) and hit Enter",
122
+ show_label=False, lines=1, type='password')
123
 
124
  chatbot = gr.Chatbot()
125
  msg = gr.Textbox()