Zul001 commited on
Commit
c2caed7
·
verified ·
1 Parent(s): bd31242

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -152,12 +152,12 @@ with gr.Blocks(theme='gradio/soft', css=custom_css) as demo:
152
  )
153
 
154
 
155
- # Button to clear the prompt and output fields
156
- add_button.click(
157
- fn=clear_fields, # Only call the clear_fields function
158
- inputs=None, # No inputs needed
159
- outputs=[prompt, output] # Clear the prompt and output fields
160
- )
161
 
162
 
163
  # clear_session.click(
 
152
  )
153
 
154
 
155
+ # # Button to clear the prompt and output fields
156
+ # add_button.click(
157
+ # fn=clear_fields, # Only call the clear_fields function
158
+ # inputs=None, # No inputs needed
159
+ # outputs=[prompt, output] # Clear the prompt and output fields
160
+ # )
161
 
162
 
163
  # clear_session.click(