Xmaster6y's picture
attention interface
55ecc31 unverified
raw
history blame contribute delete
506 Bytes
"""
Main Gradio module.
"""
import wandb
import gradio as gr
from src import (
attention_interface,
call_interface,
play_interface,
constants,
)
demo = gr.TabbedInterface(
[
play_interface.interface,
attention_interface.interface,
call_interface.interface,
],
[
"Play",
"Attention Viz",
"Call",
],
title="GPT-2 Stockfish Debug",
analytics_enabled=False,
)
wandb.login(key=constants.WANDB_API_KEY)
demo.launch()