NoufSaleh46 commited on
Commit
e893195
·
verified ·
1 Parent(s): fb47515

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -4
app.py CHANGED
@@ -70,10 +70,33 @@ demo = gr.Interface(
70
  ["الصبار", "Arabic"]
71
  ],
72
  theme="default",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  )
74
 
75
- # Custom function to fill the plant name based on example selection
76
- def fill_plant_name(plant_name, language):
77
- return plant_name, language
78
-
79
  demo.launch(share=True)
 
70
  ["الصبار", "Arabic"]
71
  ],
72
  theme="default",
73
+ css="""
74
+ body {
75
+ font-family: Arial, sans-serif;
76
+ background-color: #f9f9f9;
77
+ }
78
+ .gri-container {
79
+ border-radius: 10px;
80
+ background-color: #fff;
81
+ box-shadow: 0 4px 20px rgba(0,0,0,0.1);
82
+ }
83
+ .gri-button {
84
+ background-color: #4CAF50;
85
+ color: white;
86
+ }
87
+ .gri-button:hover {
88
+ background-color: #45a049;
89
+ }
90
+ .gri-title {
91
+ font-size: 24px;
92
+ font-weight: bold;
93
+ }
94
+ .gri-description {
95
+ font-size: 16px;
96
+ color: #555;
97
+ }
98
+ """
99
  )
100
 
101
+ # Launch the interface
 
 
 
102
  demo.launch(share=True)