Update run_demo.sh
Browse files- 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 |
-
|
20 |
-
else
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
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
|