Spaces:
Runtime error
Runtime error
Julian Bilcke commited on
Commit ·
ee60fb1
1
Parent(s): 1d46006
preparation for the release and com
Browse files7 unmodified lines891011121314151617181920212223242526272829303132333421 unmodified lines565758596061626364656667686970717 unmodified lines<bodyx-data="app()" x-init="init()"class="fixed inset-0 bg-[rgb(0,0,0)] flex flex-col w-full items-center justify-center"><divclass="fixed w-full top-4 px-6 font-mono text-white flex items-center justify-between space-x-1"style="text-shadow: 0px 0px 3px #000000"><div class="text-md">🤗 AI WebTV 👉 Pick a stream:<template x-for="chan in channels"><spanclass="text-lg mr-2":class="chan.id === channel.id? 'font-bold': 'hover:underline opacity-60 hover:opacity-80 cursor-pointer'"x-on:click="window.location = `${window.location.origin}/?channel=${chan.id}`"x-text="chan.label"></span></template></div><div class="text-xs">(<aclass="":href="channel.modelUrl"x-text="channel.model"target="_blank"></a>, <span x-text="channel.resolution"></span>)</div></div><div class="flex w-full"><video id="videoElement" muted autoplay class="aspect-video w-full"></video><!--21 unmodified linesmodel: 'cerspense/zeroscope_v2_576w',modelUrl: 'https://huggingface.co/cerspense/zeroscope_v2_576w',},'2': {id: '2',label: '#HDTV',url: 'https://jbilcke-hf-media-server.hf.space/live/webtv2.flv',resolution: '1024x576',model: 'cerspense/zeroscope_v2_XL',modelUrl: 'https://huggingface.co/cerspense/zeroscope_v2_XL',},},defaultChannelId: '2',channel: {},init() {7 unmodified lines891011121321 unmodified lines35363738394041427 unmodified lines<bodyx-data="app()" x-init="init()"class="fixed inset-0 bg-[rgb(0,0,0)] flex flex-col w-full items-center justify-center"><div class="flex w-full"><video id="videoElement" muted autoplay class="aspect-video w-full"></video><!--21 unmodified linesmodel: 'cerspense/zeroscope_v2_576w',modelUrl: 'https://huggingface.co/cerspense/zeroscope_v2_576w',},},defaultChannelId: '1',channel: {},init() {
public/index.html+1-30