Spaces:
Runtime error
Runtime error
Commit ·
fe59c19
1
Parent(s): b4b8cdc
app.py
Browse files123456789101112133 unmodified lines1718192021222324import osimport randomimport numpy as np#from tqdm import tqdm#import matplotlib.pyplot as pltimport tensorflow as tf#import tensorflow_addons as tfa#from tensorflow import keras#from tensorflow.keras import layersfrom glob import globfrom PIL import Image3 unmodified linesmodel = from_pretrained_keras("RobotJelly/GauGAN-Image-generation")def predict(image_file):# print(image_file)# img = Image.open(image_file)12345673 unmodified lines111213141516import osimport randomimport numpy as npimport tensorflow as tffrom glob import globfrom PIL import Image3 unmodified linesmodel = from_pretrained_keras("RobotJelly/GauGAN-Image-generation")def predict(image_file):# print(image_file)# img = Image.open(image_file)
app.py-8