Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|