Anna Sun commited on
Commit
b711485
1 Parent(s): 6bfe941

update instructions

Browse files
README.md CHANGED
@@ -10,7 +10,7 @@ suggested_hardware: t4-medium
10
 
11
  # Seamless Streaming demo
12
  ## Running on HF spaces
13
- You can simply duplicate the space to run it.
14
 
15
  ## Running locally
16
  ### Install backend seamless_server dependencies
 
10
 
11
  # Seamless Streaming demo
12
  ## Running on HF spaces
13
+ You can simply duplicate the space to run it. Make sure to unset the environment variable `LOCK_SERVER_COMPLETELY`.
14
 
15
  ## Running locally
16
  ### Install backend seamless_server dependencies
streaming-react-app/src/StreamingInterface.tsx CHANGED
@@ -750,17 +750,19 @@ export default function StreamingInterface() {
750
  <div className="header-container-sra">
751
  <div>
752
  <Typography variant="body2" sx={{color: '#65676B'}}>
753
- Welcome! Join a room as speaker or listener (or both), and share the
754
- room code to invite listeners. If you see the server is locked,
755
- please duplicate the space <a target="_blank" rel="noopener noreferrer" href="https://huggingface.co/spaces/facebook/seamless-streaming?duplicate=true">here</a>.
756
  <br/>
757
- Check out the seamless_communication <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebookresearch/seamless_communication/tree/main">README</a> for more information
 
 
 
758
  <br/>
759
  SeamlessStreaming model is a research model and is not released
760
  for production deployment. The streaming quality is closely
761
  related to proper VAD segmentation. It works best if you pause
762
  every couple of sentences, or you may wish adjust the VAD threshold
763
- in the model config.
 
764
  </Typography>
765
  </div>
766
  </div>
@@ -920,13 +922,6 @@ export default function StreamingInterface() {
920
  </Grid>
921
  </Stack>
922
 
923
- <Typography variant="body2" sx={{color: '#65676B'}}>
924
- Note: we don't recommend echo cancellation, as it may distort
925
- the input audio (dropping words/sentences) if there is output
926
- audio playing. Instead, you should use headphones if you'd like
927
- to listen to the output audio while speaking.
928
- </Typography>
929
-
930
  <Stack
931
  direction="row"
932
  spacing={2}
 
750
  <div className="header-container-sra">
751
  <div>
752
  <Typography variant="body2" sx={{color: '#65676B'}}>
753
+ Welcome! This space is locked, please duplicate the space <a target="_blank" rel="noopener noreferrer" href="https://huggingface.co/spaces/facebook/seamless-streaming?duplicate=true">here</a>. Unset the environment variable `LOCK_SERVER_COMPLETELY`.
 
 
754
  <br/>
755
+ In your duplicated space, join a room as speaker or listener (or both), and share the
756
+ room code to invite listeners.
757
+ <br/>
758
+ Check out the seamless_communication <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebookresearch/seamless_communication/tree/main">README</a> for more information.
759
  <br/>
760
  SeamlessStreaming model is a research model and is not released
761
  for production deployment. The streaming quality is closely
762
  related to proper VAD segmentation. It works best if you pause
763
  every couple of sentences, or you may wish adjust the VAD threshold
764
+ in the model config. The real-time performance will degrade
765
+ if you try streaming multiple speakers at the same time.
766
  </Typography>
767
  </div>
768
  </div>
 
922
  </Grid>
923
  </Stack>
924
 
 
 
 
 
 
 
 
925
  <Stack
926
  direction="row"
927
  spacing={2}