research14 commited on
Commit
74f594f
·
1 Parent(s): e6b029b

updating textboxes

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -245,11 +245,11 @@ def interface():
245
  """)
246
 
247
  # Inputs
248
- ling_ents_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
249
  with gr.Row():
250
  # Will activate after getting API key
251
  have_key2 = gr.Dropdown(["Yes", "No"], label="Do you own an API Key?", scale=0.5)
252
- ling_ents_apikey_input = gr.Textbox(label="Open AI Key", placeholder="Enter your Openai key here", type="password")
253
  linguistic_entities = gr.Dropdown(["Noun", "Determiner", "Noun phrase", "Verb phrase", "Dependent clause", "T-units"], label="Linguistic Entity", allow_custom_value=True, info="If your choice is not included in the options, please type your own.")
254
  ling_ents_btn = gr.Button(value="Submit")
255
 
@@ -330,7 +330,7 @@ def interface():
330
  """)
331
 
332
  # Inputs
333
- task_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
334
  with gr.Row():
335
  have_key = gr.Dropdown(["Yes", "No"], label="Do you own an API Key?", scale=0.5)
336
  task_apikey_input = gr.Textbox(label="Open AI Key", placeholder="Enter your OpenAI key here", type="password", visible=True)
 
245
  """)
246
 
247
  # Inputs
248
+ ling_ents_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt here")
249
  with gr.Row():
250
  # Will activate after getting API key
251
  have_key2 = gr.Dropdown(["Yes", "No"], label="Do you own an API Key?", scale=0.5)
252
+ ling_ents_apikey_input = gr.Textbox(label="Open AI Key", placeholder="Enter your OpenAI key here", type="password")
253
  linguistic_entities = gr.Dropdown(["Noun", "Determiner", "Noun phrase", "Verb phrase", "Dependent clause", "T-units"], label="Linguistic Entity", allow_custom_value=True, info="If your choice is not included in the options, please type your own.")
254
  ling_ents_btn = gr.Button(value="Submit")
255
 
 
330
  """)
331
 
332
  # Inputs
333
+ task_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt here")
334
  with gr.Row():
335
  have_key = gr.Dropdown(["Yes", "No"], label="Do you own an API Key?", scale=0.5)
336
  task_apikey_input = gr.Textbox(label="Open AI Key", placeholder="Enter your OpenAI key here", type="password", visible=True)