DigiP-AI commited on
Commit
5c3de75
·
verified ·
1 Parent(s): 4d76bab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -1,13 +1,12 @@
1
  import gradio as gr
 
 
2
  import random
3
  import os
4
- import torch
5
- import numpy as np
6
- import cv2
7
  from PIL import Image
8
- from transformers import AutoProcessor, AutoModelForCausalLM
9
- from diffusers import DiffusionPipeline
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()