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

+7 -7
View File
@@ -10,7 +10,7 @@ import gdown
import tyro
from rich.console import Console
console = Console(width=120)
CONSOLE = Console(width=120)
def download_blender(save_dir: Path):
@@ -131,19 +131,19 @@ def main(
if dataset == "blender":
if capture_name is not None:
console.print("Capture name is ignored when downloading from the blender dataset.")
CONSOLE.print("Capture name is ignored when downloading from the blender dataset.")
download_blender(save_dir)
if dataset == "friends":
if capture_name is not None:
console.print("Capture name is ignored when downloading from the blender dataset.")
CONSOLE.print("Capture name is ignored when downloading from the blender dataset.")
download_friends(save_dir)
if dataset == "nerfstudio":
if capture_name is None:
capture_names = sorted(nerfstudio_file_ids.keys())
console.rule("[bold red]Error", style="bold red")
console.print("[bold yellow]You must pass in --capture-name when downloading from the nerfstudio dataset.")
console.print("Use one of the following:")
console.print(f"\t {capture_names}")
CONSOLE.rule("[bold red]Error", style="bold red")
CONSOLE.print("[bold yellow]You must pass in --capture-name when downloading from the nerfstudio dataset.")
CONSOLE.print("Use one of the following:")
CONSOLE.print(f"\t {capture_names}")
sys.exit()
download_nerfstudio(save_dir, capture_name)
if dataset == "record3d":