Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from fastapi.responses import HTMLResponse, FileResponse, JSONResponse
|
|
3 |
from fastapi.staticfiles import StaticFiles
|
4 |
from fastapi.templating import Jinja2Templates
|
5 |
from fastapi.middleware.cors import CORSMiddleware
|
6 |
-
from gradio_client import Client
|
7 |
import os
|
8 |
import tempfile
|
9 |
import base64
|
|
|
3 |
from fastapi.staticfiles import StaticFiles
|
4 |
from fastapi.templating import Jinja2Templates
|
5 |
from fastapi.middleware.cors import CORSMiddleware
|
6 |
+
from gradio_client import Client, handle_file
|
7 |
import os
|
8 |
import tempfile
|
9 |
import base64
|