Spaces:
Sleeping
Sleeping
update
Browse files- chatgpt.py +3 -2
chatgpt.py
CHANGED
|
@@ -326,13 +326,14 @@ with gr.Blocks(css=css) as app:
|
|
| 326 |
with gr.Box():
|
| 327 |
gr.Markdown("### User Information")
|
| 328 |
username_input = gr.Textbox(
|
| 329 |
-
label="Username", placeholder="Enter your username"
|
| 330 |
)
|
| 331 |
|
| 332 |
api_key_input = gr.Textbox(
|
| 333 |
label="OpenAI API Key",
|
| 334 |
placeholder="Enter your openai api key",
|
| 335 |
-
type="password"
|
|
|
|
| 336 |
)
|
| 337 |
initialize_button = gr.Button("Initialize", variant="primary", size="large")
|
| 338 |
initialization_status = gr.Textbox(
|
|
|
|
| 326 |
with gr.Box():
|
| 327 |
gr.Markdown("### User Information")
|
| 328 |
username_input = gr.Textbox(
|
| 329 |
+
label="Username", placeholder="Enter your username", value="testtest"
|
| 330 |
)
|
| 331 |
|
| 332 |
api_key_input = gr.Textbox(
|
| 333 |
label="OpenAI API Key",
|
| 334 |
placeholder="Enter your openai api key",
|
| 335 |
+
type="password",
|
| 336 |
+
value='testtest'
|
| 337 |
)
|
| 338 |
initialize_button = gr.Button("Initialize", variant="primary", size="large")
|
| 339 |
initialization_status = gr.Textbox(
|