File tree Expand file tree Collapse file tree 3 files changed +2
-283
lines changed Expand file tree Collapse file tree 3 files changed +2
-283
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if [ "$1" = "serve" ]; then
32
32
echo " Starting Autoshow server..."
33
33
# Remove first arg ("serve") so we don't pass that to the server script.
34
34
shift
35
- tsx --no-warnings --experimental-sqlite src/server/index .ts " $@ " || log_error " Server failed to start"
35
+ tsx --no-warnings --experimental-sqlite src/fastify .ts " $@ " || log_error " Server failed to start"
36
36
fi
37
37
38
38
# Otherwise, run the CLI by default.
Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ You can run any of the `as` CLI commands by passing arguments to the container v
13
13
``` bash
14
14
npm run docker-cli -- \
15
15
--video " https://www.youtube.com/watch?v=MORMZXEaONk" \
16
- --whisper base \
17
- --ollama
16
+ --whisper base
18
17
```
19
18
20
19
### Run the Server with Docker
@@ -80,19 +79,6 @@ curl -X POST http://localhost:3000/process \
80
79
}'
81
80
```
82
81
83
- ``` bash
84
- curl -X POST http://localhost:3000/process \
85
- -H " Content-Type: application/json" \
86
- -d ' {
87
- "type": "video",
88
- "url": "https://www.youtube.com/watch?v=MORMZXEaONk",
89
- "llm": "ollama",
90
- "llmModel": "LLAMA_3_2_3B",
91
- "transcriptServices": "whisper",
92
- "whisperModel": "base"
93
- }'
94
- ```
95
-
96
82
### Railway
97
83
98
84
Work in progress, still having issues getting the server to start on 3000.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments