Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -451,16 +451,16 @@ def create_gradio_interface():
|
|
451 |
outputs=[feedback_btn]
|
452 |
)
|
453 |
|
454 |
-
# Define the reset_feedback function
|
455 |
-
def reset_feedback():
|
456 |
-
|
457 |
-
|
458 |
-
#
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
|
465 |
return iface
|
466 |
|
|
|
451 |
outputs=[feedback_btn]
|
452 |
)
|
453 |
|
454 |
+
# # Define the reset_feedback function
|
455 |
+
# def reset_feedback():
|
456 |
+
# return gr.Button(interactive=False)
|
457 |
+
|
458 |
+
# CH4_input.change(reset_feedback, outputs=[feedback_btn])
|
459 |
+
# CO2_input.change(reset_feedback, outputs=[feedback_btn])
|
460 |
+
# H2_input.change(reset_feedback, outputs=[feedback_btn])
|
461 |
+
# N2_input.change(reset_feedback, outputs=[feedback_btn])
|
462 |
+
# O2_input.change(reset_feedback, outputs=[feedback_btn])
|
463 |
+
# random_btn.click(reset_feedback, outputs=[feedback_btn])
|
464 |
|
465 |
return iface
|
466 |
|