hassan526 commited on
Commit
7e68fde
·
verified ·
1 Parent(s): dcb1c6d

Update run_demo.sh

Browse files
Files changed (1) hide show
  1. run_demo.sh +22 -20
run_demo.sh CHANGED
@@ -14,24 +14,26 @@ show_help() {
14
  echo " -h, --help Show this help message"
15
  }
16
 
 
 
17
  # Parse command-line options
18
- if [ $# -eq 0 ] || [ $# -gt 1 ]; then
19
- show_help
20
- else
21
- # Check the provided option
22
- case $1 in
23
- --gradio|-g)
24
- python3 gradio/app.py
25
- ;;
26
- --flask|-f)
27
- python3 flask/app.py
28
- ;;
29
- --help|-h)
30
- show_help
31
- ;;
32
- *)
33
- echo "Invalid option: $1"
34
- show_help
35
- ;;
36
- esac
37
- fi
 
14
  echo " -h, --help Show this help message"
15
  }
16
 
17
+ python3 gradio/app.py
18
+
19
  # Parse command-line options
20
+ # if [ $# -eq 0 ] || [ $# -gt 1 ]; then
21
+ # show_help
22
+ # else
23
+ # # Check the provided option
24
+ # case $1 in
25
+ # --gradio|-g)
26
+ # python3 gradio/app.py
27
+ # ;;
28
+ # --flask|-f)
29
+ # python3 flask/app.py
30
+ # ;;
31
+ # --help|-h)
32
+ # show_help
33
+ # ;;
34
+ # *)
35
+ # echo "Invalid option: $1"
36
+ # show_help
37
+ # ;;
38
+ # esac
39
+ # fi