Spaces:
Runtime error
Runtime error
Commit
·
74f594f
1
Parent(s):
e6b029b
updating textboxes
Browse files
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
|
| 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
|
| 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
|
| 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)
|