jleibs commited on
Commit
bf7f9b5
1 Parent(s): 360f48f
Files changed (2) hide show
  1. app.py +3 -7
  2. dataset_conversion.py +0 -1
app.py CHANGED
@@ -1,19 +1,15 @@
1
- from pathlib import Path
2
  import urllib
3
- from collections import namedtuple
4
- from math import cos, sin
5
- from typing import Any
6
 
7
  import gradio as gr
8
- import numpy as np
9
- from dataset_conversion import log_dataset_to_rerun
10
  import rerun as rr
11
- import rerun.blueprint as rrb
12
  from datasets import load_dataset
13
  from fastapi import FastAPI
14
  from fastapi.middleware.cors import CORSMiddleware
15
  from gradio_huggingfacehub_search import HuggingfaceHubSearch
16
 
 
 
17
  CUSTOM_PATH = "/"
18
 
19
  app = FastAPI()
 
 
1
  import urllib
2
+ from pathlib import Path
 
 
3
 
4
  import gradio as gr
 
 
5
  import rerun as rr
 
6
  from datasets import load_dataset
7
  from fastapi import FastAPI
8
  from fastapi.middleware.cors import CORSMiddleware
9
  from gradio_huggingfacehub_search import HuggingfaceHubSearch
10
 
11
+ from dataset_conversion import log_dataset_to_rerun
12
+
13
  CUSTOM_PATH = "/"
14
 
15
  app = FastAPI()
dataset_conversion.py CHANGED
@@ -3,7 +3,6 @@ from typing import Any
3
 
4
  import numpy as np
5
  import rerun as rr
6
- from datasets import load_dataset
7
  from PIL import Image
8
  from tqdm import tqdm
9
 
 
3
 
4
  import numpy as np
5
  import rerun as rr
 
6
  from PIL import Image
7
  from tqdm import tqdm
8