Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ from fastapi import FastAPI, UploadFile, File
|
|
2 |
from fastapi.middleware.cors import CORSMiddleware
|
3 |
# Loading
|
4 |
import os
|
|
|
|
|
5 |
from datasets import load_dataset
|
6 |
import torch
|
7 |
from tqdm import tqdm
|
|
|
2 |
from fastapi.middleware.cors import CORSMiddleware
|
3 |
# Loading
|
4 |
import os
|
5 |
+
from os import makedirs,getcwd
|
6 |
+
from os.path import join,exists,dirname
|
7 |
from datasets import load_dataset
|
8 |
import torch
|
9 |
from tqdm import tqdm
|