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

+6 -6
View File
@@ -18,19 +18,19 @@ from math import floor, log
from rich.console import Console
console = Console(width=120)
CONSOLE = Console(width=120)
def print_tcnn_speed_warning(method_name: str):
"""Prints a warning about the speed of the TCNN."""
console.line()
console.print(f"[bold yellow]WARNING: Using a slow implementation of {method_name}. ")
console.print(
CONSOLE.line()
CONSOLE.print(f"[bold yellow]WARNING: Using a slow implementation of {method_name}. ")
CONSOLE.print(
"[bold yellow]:person_running: :person_running: "
+ "Install tcnn for speedups :person_running: :person_running:"
)
console.print("[yellow]pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch")
console.line()
CONSOLE.print("[yellow]pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch")
CONSOLE.line()
def human_format(num):