guidel commited on
Commit
1acb0b1
1 Parent(s): db19c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ batch_translate = gr.Interface(
38
  description = "Fill in with text you want to translate"
39
  )
40
 
41
- batch_translate.launch()
 
42
 
43
  """
44
  def translate(a):
 
38
  description = "Fill in with text you want to translate"
39
  )
40
 
41
+ if __name__ == "__main__":
42
+ batch_translate.launch()
43
 
44
  """
45
  def translate(a):