SanjayKannaV commited on
Commit
6f65911
·
verified ·
1 Parent(s): 2b8d25d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -106,6 +106,7 @@ def create_gradio_interface():
106
  # Load corpora (adjust paths as needed)
107
  spell_checker.load_corpus("Tamil", "tamil.txt")
108
  spell_checker.load_corpus("Malayalam", "malayalam.txt")
 
109
 
110
  # Create Gradio interface
111
  iface = gr.Interface(
@@ -117,7 +118,7 @@ def create_gradio_interface():
117
  lines=1
118
  ),
119
  gr.Dropdown(
120
- choices=["Tamil", "Malayalam"],
121
  label="Select Language",
122
  value="Tamil"
123
  )
 
106
  # Load corpora (adjust paths as needed)
107
  spell_checker.load_corpus("Tamil", "tamil.txt")
108
  spell_checker.load_corpus("Malayalam", "malayalam.txt")
109
+ spell_checker.load_corpus("English", "english.txt")
110
 
111
  # Create Gradio interface
112
  iface = gr.Interface(
 
118
  lines=1
119
  ),
120
  gr.Dropdown(
121
+ choices=["Tamil", "Malayalam","English"],
122
  label="Select Language",
123
  value="Tamil"
124
  )