bakhil-aissa commited on
Commit
5f85e8f
·
verified ·
1 Parent(s): 51d1021

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -69,9 +69,5 @@ def main():
69
  else:
70
  st.warning("Please enter some text to check.")
71
 
72
- # This ensures the app runs properly in Streamlit
73
- if __name__ == "__main__":
74
- main()
75
- else:
76
- # For Streamlit, just call main directly
77
- main()
 
69
  else:
70
  st.warning("Please enter some text to check.")
71
 
72
+ # Only define functions, don't execute anything
73
+ # Streamlit will automatically run the script when it's ready