DigiP-AI commited on
Commit
d5b3011
·
verified ·
1 Parent(s): ca3b48c

Update app.py

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