Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -191,7 +191,6 @@ language_choices = {
|
|
| 191 |
'en': 'English',
|
| 192 |
'ml': 'Malayalam',
|
| 193 |
'ta': 'Tamil',
|
| 194 |
-
'or': 'Odia/Odisi',
|
| 195 |
'bn': 'Bengali',
|
| 196 |
'gu': 'Gujarati',
|
| 197 |
'kn': 'Kannada',
|
|
@@ -215,7 +214,7 @@ gr_interface = gr.Interface(
|
|
| 215 |
fn=gradio_predict,
|
| 216 |
inputs=[
|
| 217 |
gr.Image(type="filepath"), # Image input for disease prediction
|
| 218 |
-
gr.Dropdown(label="Select language", choices=languages, value='
|
| 219 |
],
|
| 220 |
outputs="html", # Output will be in HTML (translated text)
|
| 221 |
title="Plant Disease Predictor",
|
|
|
|
| 191 |
'en': 'English',
|
| 192 |
'ml': 'Malayalam',
|
| 193 |
'ta': 'Tamil',
|
|
|
|
| 194 |
'bn': 'Bengali',
|
| 195 |
'gu': 'Gujarati',
|
| 196 |
'kn': 'Kannada',
|
|
|
|
| 214 |
fn=gradio_predict,
|
| 215 |
inputs=[
|
| 216 |
gr.Image(type="filepath"), # Image input for disease prediction
|
| 217 |
+
gr.Dropdown(label="Select language", choices=languages, value='English') # Language selection dropdown with full names
|
| 218 |
],
|
| 219 |
outputs="html", # Output will be in HTML (translated text)
|
| 220 |
title="Plant Disease Predictor",
|