SinaAhmadi commited on
Commit
d661972
·
verified ·
1 Parent(s): 69b1581

cache set to false for demo bug

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -152,13 +152,14 @@ demo = gr.Interface(
152
  description=description,
153
  fn=normalize,
154
  inputs=[
155
- gr.Textbox(lines=4, label="Noisy Text \U0001F974"), # Remove .inputs
156
  gr.Dropdown(label="Language in unconventional script", choices=sorted(list(languages_scripts.keys()))),
157
  ],
158
- outputs=gr.Textbox(label="Normalized Text \U0001F642"), # Remove .outputs
159
  examples=examples,
160
  article=article,
161
- examples_per_page=20
 
162
  )
163
 
164
  demo.launch()
 
152
  description=description,
153
  fn=normalize,
154
  inputs=[
155
+ gr.Textbox(lines=4, label="Noisy Text \U0001F974"),
156
  gr.Dropdown(label="Language in unconventional script", choices=sorted(list(languages_scripts.keys()))),
157
  ],
158
+ outputs=gr.Textbox(label="Normalized Text \U0001F642"),
159
  examples=examples,
160
  article=article,
161
+ examples_per_page=20,
162
+ cache_examples=False
163
  )
164
 
165
  demo.launch()