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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -95,7 +95,16 @@ iface = gr.Interface(
95
  fn=gradio_function,
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
  )
100
 
 
 
 
 
 
 
 
 
101
  iface.launch(debug=True)
 
95
  fn=gradio_function,
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)