Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,5 +177,6 @@ with gr.Blocks(title="House Database Query") as demo:
|
|
| 177 |
# fn=execute_sql_query
|
| 178 |
)
|
| 179 |
# When calling/running directly, script gets executed
|
|
|
|
| 180 |
if __name__ == "__main__":
|
| 181 |
demo.launch(share=True)
|
|
|
|
| 177 |
# fn=execute_sql_query
|
| 178 |
)
|
| 179 |
# When calling/running directly, script gets executed
|
| 180 |
+
# why -> this mechanishm used to prevent unintended execution of code
|
| 181 |
if __name__ == "__main__":
|
| 182 |
demo.launch(share=True)
|