Spaces:
Running
Running
Fixed imports
Browse files
app.py
CHANGED
@@ -19,8 +19,9 @@ from __future__ import annotations
|
|
19 |
import sqlite3
|
20 |
|
21 |
import sys
|
|
|
22 |
from pathlib import Path
|
23 |
-
from typing import List, Dict, Any, Tuple, Generator
|
24 |
|
25 |
import pandas as pd
|
26 |
import gradio as gr
|
@@ -460,11 +461,11 @@ def handle_db_upload(files: list[gr.File]) -> str:
|
|
460 |
f"Uploaded: {', '.join(saved)}" if saved else "No files uploaded."
|
461 |
)
|
462 |
|
|
|
463 |
# -----------------------------------------------------------------------------
|
464 |
# UI
|
465 |
# -----------------------------------------------------------------------------
|
466 |
-
|
467 |
-
pass
|
468 |
with gr.Blocks() as interface:
|
469 |
with gr.Tab("Game Arena"):
|
470 |
config = create_player_config()
|
|
|
19 |
import sqlite3
|
20 |
|
21 |
import sys
|
22 |
+
import shutil
|
23 |
from pathlib import Path
|
24 |
+
from typing import List, Dict, Any, Tuple, Generator, TypedDict
|
25 |
|
26 |
import pandas as pd
|
27 |
import gradio as gr
|
|
|
461 |
f"Uploaded: {', '.join(saved)}" if saved else "No files uploaded."
|
462 |
)
|
463 |
|
464 |
+
|
465 |
# -----------------------------------------------------------------------------
|
466 |
# UI
|
467 |
# -----------------------------------------------------------------------------
|
468 |
+
|
|
|
469 |
with gr.Blocks() as interface:
|
470 |
with gr.Tab("Game Arena"):
|
471 |
config = create_player_config()
|