Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -152,12 +152,12 @@ with gr.Blocks(theme='gradio/soft', css=custom_css) as demo:
|
|
152 |
)
|
153 |
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
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(
|