amnashoukat commited on
Commit
0a29326
·
verified ·
1 Parent(s): 1976475

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -43,4 +43,5 @@ with gr.Blocks() as demo:
43
  ur_translate_btn.click(translate_ur_to_en, ur_input, ur_output)
44
 
45
  # Launch the app (for local testing or in Colab)
 
46
  demo.launch()
 
43
  ur_translate_btn.click(translate_ur_to_en, ur_input, ur_output)
44
 
45
  # Launch the app (for local testing or in Colab)
46
+ if __name__ == "__main__":
47
  demo.launch()