Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,12 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
2 |
import random
|
3 |
import os
|
4 |
-
import
|
5 |
-
import numpy as np
|
6 |
-
import cv2
|
7 |
from PIL import Image
|
8 |
-
from
|
9 |
-
|
10 |
-
from datetime import datetime
|
11 |
from fastapi import FastAPI
|
12 |
|
13 |
app = FastAPI()
|
|
|
1 |
import gradio as gr
|
2 |
+
import requests
|
3 |
+
import io
|
4 |
import random
|
5 |
import os
|
6 |
+
import time
|
|
|
|
|
7 |
from PIL import Image
|
8 |
+
from deep_translator import GoogleTranslator
|
9 |
+
import json
|
|
|
10 |
from fastapi import FastAPI
|
11 |
|
12 |
app = FastAPI()
|