Spaces:
Paused
Paused
Julian Bilcke
commited on
Commit
·
a23809c
1
Parent(s):
d65c38a
fix README
Browse files
README.md
CHANGED
|
@@ -1,72 +1,9 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
app_port: 7860
|
| 9 |
---
|
| 10 |
-
|
| 11 |
-
A generative AI WebTV, powered by Zeroscope and Hugging Face.
|
| 12 |
-
|
| 13 |
-
Note: this won't work on iOS due to an apparent ban on Media Source Extensions (available on iPadOS).
|
| 14 |
-
|
| 15 |
-
It should be possible however to use some other protocol or library.
|
| 16 |
-
|
| 17 |
-
# Installation
|
| 18 |
-
## Building and run without Docker
|
| 19 |
-
|
| 20 |
-
```bash
|
| 21 |
-
nvm use
|
| 22 |
-
npm i
|
| 23 |
-
```
|
| 24 |
-
|
| 25 |
-
First setup some env vars:
|
| 26 |
-
WEBTV_VIDEOPATH="./sandbox/video"
|
| 27 |
-
WEBTV_AUDIOPATH="./sandbox/audio"
|
| 28 |
-
WEBTV_RTMP_URL="rtmp://localhost:1935/webtv"
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
In a terminal, run:
|
| 32 |
-
|
| 33 |
-
```
|
| 34 |
-
./scripts/init.sh
|
| 35 |
-
```
|
| 36 |
-
|
| 37 |
-
Then run:
|
| 38 |
-
|
| 39 |
-
```
|
| 40 |
-
./scripts/audio.sh
|
| 41 |
-
```
|
| 42 |
-
|
| 43 |
-
In another terminal, run:
|
| 44 |
-
|
| 45 |
-
```
|
| 46 |
-
./scripts/video.sh
|
| 47 |
-
```
|
| 48 |
-
|
| 49 |
-
In another terminal, run:
|
| 50 |
-
|
| 51 |
-
```
|
| 52 |
-
./scripts/stream.sh
|
| 53 |
-
```
|
| 54 |
-
|
| 55 |
-
In another terminal, run:
|
| 56 |
-
|
| 57 |
-
```
|
| 58 |
-
npm run start
|
| 59 |
-
```
|
| 60 |
-
|
| 61 |
-
## Building and running with Docker
|
| 62 |
-
|
| 63 |
-
```bash
|
| 64 |
-
npm run docker
|
| 65 |
-
```
|
| 66 |
-
|
| 67 |
-
This script is a shortcut executing the following commands:
|
| 68 |
-
|
| 69 |
-
```bash
|
| 70 |
-
docker build -t ai-webtv .
|
| 71 |
-
docker run -it -p 7860:7860 ai-webtv
|
| 72 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
title: beta
|
| 3 |
+
emoji: 🤫
|
| 4 |
+
colorFrom: white
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
app_port: 7860
|
| 9 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|