Spaces:
Runtime error
Runtime error
Commit ·
fe59c19
1
Parent(s): b4b8cdc
app.py
Browse files123456489105673 unmodified lines1112132021141516import osimport randomimport numpy as np#from tqdm import tqdm#import matplotlib.pyplot as plt
import tensorflow as tf#import tensorflow_addons as tfa#from tensorflow import keras#from tensorflow.keras import layers
from glob import globfrom PIL import Image3 unmodified lines
model = from_pretrained_keras("RobotJelly/GauGAN-Image-generation")
def predict(image_file): # print(image_file) # img = Image.open(image_file)app.py-8