Update app_low.py
Browse files- app_low.py +1 -1
app_low.py
CHANGED
|
@@ -129,7 +129,7 @@ with gr.Blocks(title="Prompt Enhancer – Gemma 3 270M", theme=gr.themes.Soft())
|
|
| 129 |
add_btn = gr.Button("🚀 add Prompt", variant="primary")
|
| 130 |
|
| 131 |
# Bind UI actions
|
| 132 |
-
send_btn.click(enhance_prompt, [user_prompt, temperature, max_tokens, chatbot], chatbot)
|
| 133 |
user_prompt.submit(enhance_prompt, [user_prompt, temperature, max_tokens, chatbot], chatbot)
|
| 134 |
clear_btn.click(lambda: [], None, chatbot)
|
| 135 |
add_btn.click(enhance_prompt1, [user_prompt, temperature, max_tokens, chatbot], chatbot)
|
|
|
|
| 129 |
add_btn = gr.Button("🚀 add Prompt", variant="primary")
|
| 130 |
|
| 131 |
# Bind UI actions
|
| 132 |
+
#send_btn.click(enhance_prompt, [user_prompt, temperature, max_tokens, chatbot], chatbot)
|
| 133 |
user_prompt.submit(enhance_prompt, [user_prompt, temperature, max_tokens, chatbot], chatbot)
|
| 134 |
clear_btn.click(lambda: [], None, chatbot)
|
| 135 |
add_btn.click(enhance_prompt1, [user_prompt, temperature, max_tokens, chatbot], chatbot)
|