File size: 417 Bytes
d2ad521
 
 
 
045d76c
 
d2ad521
 
 
 
045d76c
 
d2ad521
 
 
 
 
045d76c
d2ad521
 
 
045d76c
d2ad521
 
 
 
 
 
045d76c
 
d2ad521
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""
Main Gradio module.
"""

import wandb

import gradio as gr

from src import (
    call_interface,
    play_interface,
    constants,
)


demo = gr.TabbedInterface(
    [
        play_interface.interface,
        call_interface.interface,
    ],
    [
        "Play",
        "Call",
    ],
    title="GPT-2 Stockfish Debug",
    analytics_enabled=False,
)

wandb.login(key=constants.WANDB_API_KEY)

demo.launch()