Google Colab support with viewer (#747)

* allows bridge server to run on a different machine

* added script

* update version

* starting docs

* update docs and scripts

* ngrok support

* use tcp

* moving webrtc outside bridge server. wop

* lazy commit

* lazy commit

* running code. webrtc not working

* lazy commit

* better logic for webrtc connection

* cleanup

* todo comment

* working webrtc

* removed logging

* fixing black

* fix eslint

* fix python version

* fix readme

* misc cleanup

* small docs fix

Co-authored-by: Ethan Weber <ethanweber@Ethans-MacBook-Pro.local>
This commit is contained in:
Ethan WeberandEthan Weber authored and GitHub committed 2022-10-14 15:05:28 -07:00
1 parent a4755a1349
commit d71c05f256
37 files changed
+324 -329

No files matched your search

+3 -3
View File
@@ -19,14 +19,14 @@ import sys
from rich.console import Console
console = Console(width=120)
CONSOLE = Console(width=120)
def check_ffmpeg_installed():
"""Checks if ffmpeg is installed."""
ffmpeg_path = shutil.which("ffmpeg")
if ffmpeg_path is None:
console.print("[bold red]Could not find ffmpeg. Please install ffmpeg.")
CONSOLE.print("[bold red]Could not find ffmpeg. Please install ffmpeg.")
print("See https://ffmpeg.org/download.html for installation instructions.")
print("ffmpeg is only necessary if using videos as input.")
sys.exit(1)
@@ -36,6 +36,6 @@ def check_colmap_installed():
"""Checks if colmap is installed."""
colmap_path = shutil.which("colmap")
if colmap_path is None:
console.print("[bold red]Could not find COLMAP. Please install COLMAP.")
CONSOLE.print("[bold red]Could not find COLMAP. Please install COLMAP.")
print("See https://colmap.github.io/install.html for installation instructions.")
sys.exit(1)