Spaces:
Running
Running
Vincent-Tann
commited on
Commit
·
4259577
1
Parent(s):
a475444
update api key comment
Browse files
app.py
CHANGED
@@ -171,8 +171,8 @@ with gr.Blocks() as demo:
|
|
171 |
with gr.Column():
|
172 |
# Right-1: Openai Api Key Input
|
173 |
inp_api_key = gr.Textbox(
|
174 |
-
label='OpenAI API Key (
|
175 |
-
placeholder='
|
176 |
lines=1)
|
177 |
# Right-2: LLM Selection
|
178 |
llm_dropdown = gr.Dropdown(
|
@@ -188,7 +188,7 @@ with gr.Blocks() as demo:
|
|
188 |
# Right-3: User Instruction Input
|
189 |
user_instruction_textbox = gr.Textbox(
|
190 |
label="Instruction",
|
191 |
-
placeholder="Describe an object in the scene with its attributes and its relation with other objects, e.g. 'The plant between the armchair and the piano.",
|
192 |
# scale=4
|
193 |
)
|
194 |
# Right-4: Submit Button
|
|
|
171 |
with gr.Column():
|
172 |
# Right-1: Openai Api Key Input
|
173 |
inp_api_key = gr.Textbox(
|
174 |
+
label='OpenAI API Key (This will not stored anywhere and you could revoke it after use. Generate new key at [https://platform.openai.com/api-keys].)',
|
175 |
+
placeholder='sk-xxxxxxxxx',
|
176 |
lines=1)
|
177 |
# Right-2: LLM Selection
|
178 |
llm_dropdown = gr.Dropdown(
|
|
|
188 |
# Right-3: User Instruction Input
|
189 |
user_instruction_textbox = gr.Textbox(
|
190 |
label="Instruction",
|
191 |
+
placeholder="Describe an object in the scene with its attributes and its relation with other objects, e.g. 'The plant between the armchair and the piano.'",
|
192 |
# scale=4
|
193 |
)
|
194 |
# Right-4: Submit Button
|