Ashrafb commited on
Commit
f26d989
·
1 Parent(s): 0a9f549

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +14 -0
main.py CHANGED
@@ -81,4 +81,18 @@ gr.Interface(
81
  fn=predict_and_return_image,
82
  inputs=[gr.Image(label="Gray Scale Image") , gr.Dropdown(["MODEL_1" , "MODEL_2"])],
83
  outputs=[gr.Image(label="Predicted Colored Image")],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  ).launch()
 
81
  fn=predict_and_return_image,
82
  inputs=[gr.Image(label="Gray Scale Image") , gr.Dropdown(["MODEL_1" , "MODEL_2"])],
83
  outputs=[gr.Image(label="Predicted Colored Image")],
84
+ css = '''
85
+ .gradio-container {background-color: #228B22}
86
+ .animate-spin {
87
+ animation: spin 1s linear infinite;
88
+ }
89
+ @keyframes spin {
90
+ from {
91
+ transform: rotate(0deg);
92
+ }
93
+ to {
94
+ transform: rotate(360deg);
95
+ }
96
+ }
97
+ '''
98
  ).launch()