ameerazam08
commited on
Commit
•
c6aa162
1
Parent(s):
55615ba
gradio version
Browse files
app.py
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
# -*- coding: utf-8 -*-
|
3 |
# @Time : 2023-06-01
|
4 |
# @Author : ashui(Binghui Chen)
|
|
|
|
|
|
|
5 |
from sympy import im
|
6 |
import time
|
7 |
import spaces
|
@@ -13,8 +16,7 @@ import math
|
|
13 |
import uuid
|
14 |
import torch
|
15 |
from torch import autocast
|
16 |
-
|
17 |
-
os.system("pip install gradio==4.8.0")
|
18 |
|
19 |
from src.util import resize_image, upload_np_2_oss
|
20 |
from diffusers import AutoPipelineForInpainting, UNet2DConditionModel
|
|
|
2 |
# -*- coding: utf-8 -*-
|
3 |
# @Time : 2023-06-01
|
4 |
# @Author : ashui(Binghui Chen)
|
5 |
+
import os
|
6 |
+
os.system("pip install gradio==4.8.0")
|
7 |
+
|
8 |
from sympy import im
|
9 |
import time
|
10 |
import spaces
|
|
|
16 |
import uuid
|
17 |
import torch
|
18 |
from torch import autocast
|
19 |
+
|
|
|
20 |
|
21 |
from src.util import resize_image, upload_np_2_oss
|
22 |
from diffusers import AutoPipelineForInpainting, UNet2DConditionModel
|