-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdurer.py
50 lines (28 loc) · 1.02 KB
/
durer.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import cv2
from cv2 import dnn_superres
from torchvision import models, transforms
import torch
from PIL import Image
import torch.nn as nn
import streamlit as st
from res import *
st.markdown(
"""
<style>
.reportview-container {
background: url("https://user-images.githubusercontent.com/52780573/110473221-4efd2f80-8104-11eb-9b61-577ab3d2d584.png")
}
.sidebar .sidebar-content {
background: url("url_goes_here")
}
</style>
""",
unsafe_allow_html=True
)
st.title("Dürer")
st.subheader("generative adversarial network generated Albrecht Dürer paintings")
st.write("Reload for more super-res paintings")
resolute()
st.image(["SUPERSAMPLES/supernew.png","SUPERSAMPLES/supernew1.png"],width = 317)
st.markdown("")
st.markdown("")