Chirag commited on
Commit
8d32797
·
1 Parent(s): 18b7afa
Files changed (2) hide show
  1. README.md +1 -1
  2. app.sh +8 -1
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: yellow
5
  colorTo: purple
6
  sdk: gradio
7
  sdk_version: 5.0.1
8
- app_file: app.py
9
  pinned: false
10
  license: apache-2.0
11
  short_description: Document Reader
 
5
  colorTo: purple
6
  sdk: gradio
7
  sdk_version: 5.0.1
8
+ app_file: app.sh
9
  pinned: false
10
  license: apache-2.0
11
  short_description: Document Reader
app.sh CHANGED
@@ -1 +1,8 @@
1
- python app.py
 
 
 
 
 
 
 
 
1
+ # Exit if any command fails
2
+ set -e
3
+
4
+ # Optional: Install dependencies (if needed)
5
+ pip install -r requirements.txt
6
+
7
+ # Convert and run the Jupyter notebook
8
+ jupyter nbconvert --to notebook --execute app.ipynb --output executed_app.ipynb