Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import os
|
|
5 |
import numpy as np
|
6 |
import base64
|
7 |
import gradio as gr
|
|
|
8 |
import requests
|
9 |
import json
|
10 |
import dotenv
|
@@ -16,8 +17,6 @@ from PIL import Image
|
|
16 |
import io
|
17 |
import hashlib
|
18 |
import datetime
|
19 |
-
import os
|
20 |
-
import datetime
|
21 |
from utils import build_logger
|
22 |
|
23 |
dotenv.load_dotenv()
|
|
|
5 |
import numpy as np
|
6 |
import base64
|
7 |
import gradio as gr
|
8 |
+
import tempfile
|
9 |
import requests
|
10 |
import json
|
11 |
import dotenv
|
|
|
17 |
import io
|
18 |
import hashlib
|
19 |
import datetime
|
|
|
|
|
20 |
from utils import build_logger
|
21 |
|
22 |
dotenv.load_dotenv()
|