venthan commited on
Commit
5da4e93
1 Parent(s): 8004243

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -124,6 +124,7 @@ with gr.Blocks(css=css) as demo:
124
  with gr.Column(scale=3, min_width=100):
125
  # gr.Markdown("Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
126
  # user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", show_label=False)
 
127
  prompt_template = gr.Textbox(value=default_role, show_label=False, placeholder="Role", visible=True)
128
  good_foods = gr.Textbox(show_label=False, placeholder="Can have foods", visible=False)
129
  bad_foods = gr.Textbox(show_label=False, placeholder="Can't have foods", visible=False)
 
124
  with gr.Column(scale=3, min_width=100):
125
  # gr.Markdown("Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
126
  # user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", show_label=False)
127
+ user_token = OPEN_AI_KEY
128
  prompt_template = gr.Textbox(value=default_role, show_label=False, placeholder="Role", visible=True)
129
  good_foods = gr.Textbox(show_label=False, placeholder="Can have foods", visible=False)
130
  bad_foods = gr.Textbox(show_label=False, placeholder="Can't have foods", visible=False)