Sshubam commited on
Commit
9320c23
·
verified ·
1 Parent(s): e7da371
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -269,7 +269,8 @@ with gr.Blocks(css=css) as demo:
269
  "Diwali, the festival of lights, is one of India’s most celebrated festivals, symbolizing the victory of light over darkness...",
270
  ],
271
  inputs=msg,
272
- cache_examples=True
 
273
  )
274
 
275
  with gr.Accordion("Provide Feedback", open=True):
 
269
  "Diwali, the festival of lights, is one of India’s most celebrated festivals, symbolizing the victory of light over darkness...",
270
  ],
271
  inputs=msg,
272
+ cache_examples=True,
273
+ fn=translate_message
274
  )
275
 
276
  with gr.Accordion("Provide Feedback", open=True):