dimentox commited on
Commit
ac9a66d
1 Parent(s): aa2d466

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -26
app.py CHANGED
@@ -1,30 +1,4 @@
1
  from __future__ import annotations
2
- import os
3
- import zipfile
4
- from os.path import basename
5
-
6
- import numpy as np
7
- from PIL import Image
8
- import matplotlib
9
-
10
- from pipeline import Model_GAN, noise
11
-
12
- matplotlib.use('Agg')
13
- from math import floor
14
- from io import BytesIO
15
- import base64
16
- import tempfile
17
-
18
- from keras.layers import Conv2D, LeakyReLU, BatchNormalization, Dense, AveragePooling2D, GaussianNoise
19
- from keras.layers import Reshape, UpSampling2D, Activation, Dropout, Flatten, Conv2DTranspose
20
- from keras.models import model_from_json, Sequential
21
- from keras.optimizers import Adam
22
-
23
- import cv2
24
-
25
-
26
- import math
27
- import random
28
 
29
  import gradio as gr
30
  import torch
@@ -183,3 +157,8 @@ gr.Examples(
183
  cache_examples=True,
184
  )
185
  gr.load().launch()
 
 
 
 
 
 
1
  from __future__ import annotations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  import gradio as gr
4
  import torch
 
157
  cache_examples=True,
158
  )
159
  gr.load().launch()
160
+
161
+
162
+
163
+ # sr_b64 = super_resolution(hmap_b64)
164
+