Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,12 +7,12 @@ import numpy as np
|
|
7 |
from PIL import Image
|
8 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
9 |
from diffusers import DiffusionPipeline
|
10 |
-
|
11 |
-
import gradio as gr
|
12 |
import cv2
|
13 |
-
import numpy as np
|
14 |
from datetime import datetime
|
15 |
-
import
|
|
|
|
|
|
|
16 |
|
17 |
#----------Start of theme----------
|
18 |
theme = gr.themes.Soft(
|
|
|
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()
|
15 |
+
|
16 |
|
17 |
#----------Start of theme----------
|
18 |
theme = gr.themes.Soft(
|