Surya152002 commited on
Commit
01661df
·
1 Parent(s): df6383c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import subprocess
3
+
4
+ def run_python_script():
5
+ # Run the Python script
6
+ subprocess.run(["python", "recognize.py"])
7
+
8
+ # Create a button in the Streamlit app
9
+ if st.button('Run Python Script'):
10
+ run_python_script()
11
+ st.success('Script executed successfully!')