CIAZIZ commited on
Commit
85cb5e5
·
verified ·
1 Parent(s): 979e43d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -96,15 +96,15 @@ iface = gr.Interface(
96
  inputs=[gr.Image(type="pil", label="Upload an image"),
97
  gr.Dropdown(choices=["Arabic", "English"], label="Select Language", value="Arabic")],
98
  outputs=gr.HTML(label="Food and Nutrition Information"),
99
- theme="compact" # You can also use "default" or other available themes
 
 
 
 
 
 
 
100
  )
101
 
102
- # Add custom CSS to change the submit button color
103
- iface.css = """
104
- .gr-button {
105
- background-color: #333 !important;
106
- color: white !important;
107
- }
108
- """
109
-
110
  iface.launch(debug=True)
 
 
96
  inputs=[gr.Image(type="pil", label="Upload an image"),
97
  gr.Dropdown(choices=["Arabic", "English"], label="Select Language", value="Arabic")],
98
  outputs=gr.HTML(label="Food and Nutrition Information"),
99
+ # Here, add the custom CSS to style the submit button
100
+ css="""
101
+ .gr-button {
102
+ background-color: #333 !important;
103
+ color: white !important;
104
+ border: none;
105
+ }
106
+ """
107
  )
108
 
 
 
 
 
 
 
 
 
109
  iface.launch(debug=True)
110
+