Update gradio_app.py
Browse files- gradio_app.py +2 -2
gradio_app.py
CHANGED
|
@@ -548,7 +548,7 @@ with gr.Blocks(
|
|
| 548 |
label="🔑 OpenAI API Key",
|
| 549 |
placeholder="Enter your OpenAI API key",
|
| 550 |
type="password",
|
| 551 |
-
value=
|
| 552 |
interactive=True,
|
| 553 |
info="Your OpenAI API key for GPT-4o-mini access"
|
| 554 |
)
|
|
@@ -789,7 +789,7 @@ with gr.Blocks(
|
|
| 789 |
|
| 790 |
# Event handlers with improved functionality
|
| 791 |
def clear_form():
|
| 792 |
-
return ("", "", 0.7, False, True, False, True, 1, 1,
|
| 793 |
|
| 794 |
def update_stats():
|
| 795 |
stats = get_job_statistics()
|
|
|
|
| 548 |
label="🔑 OpenAI API Key",
|
| 549 |
placeholder="Enter your OpenAI API key",
|
| 550 |
type="password",
|
| 551 |
+
value="",
|
| 552 |
interactive=True,
|
| 553 |
info="Your OpenAI API key for GPT-4o-mini access"
|
| 554 |
)
|
|
|
|
| 789 |
|
| 790 |
# Event handlers with improved functionality
|
| 791 |
def clear_form():
|
| 792 |
+
return ("", "", 0.7, False, True, False, True, 1, 1, "", "Form cleared! Ready for new input.")
|
| 793 |
|
| 794 |
def update_stats():
|
| 795 |
stats = get_job_statistics()
|