benjaminStreltzin commited on
Commit
6a36194
·
verified ·
1 Parent(s): fca9c95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -60,6 +60,24 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
60
 
61
  clear_btn.click(clear_all, outputs=[image_input, prediction_output, confidence_output, feedback_output])
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  # Launch the Gradio interface
64
  if __name__ == "__main__":
65
- demo.launch(share=True)
 
60
 
61
  clear_btn.click(clear_all, outputs=[image_input, prediction_output, confidence_output, feedback_output])
62
 
63
+ custom_css = """
64
+ <style>
65
+ #submit_btn {
66
+ background-color: #4CAF50; /* Green */
67
+ color: white;
68
+ }
69
+ #feedback_btn {
70
+ background-color: #f44336; /* Red */
71
+ color: white;
72
+ }
73
+ #clear_btn {
74
+ background-color: #2196F3; /* Blue */
75
+ color: white;
76
+ }
77
+ </style>
78
+ """
79
+
80
+
81
  # Launch the Gradio interface
82
  if __name__ == "__main__":
83
+ demo.launch(custom_css=custom_css,share=True)