Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -110,8 +110,8 @@ class ImageTransform:
|
|
110 |
img = self.transform[phase](img)
|
111 |
return img
|
112 |
|
113 |
-
|
114 |
-
title = "Generate Futuristic
|
115 |
|
116 |
path = hf_hub_download('huggan/NeonGAN', 'model.bin')
|
117 |
model_gen_n = torch.load(path, map_location=torch.device('cpu'))
|
@@ -151,7 +151,6 @@ gr.Interface(
|
|
151 |
outputs,
|
152 |
examples = examples,
|
153 |
title=title,
|
154 |
-
description=description,
|
155 |
theme="huggingface",
|
156 |
).launch(enable_queue=True)
|
157 |
|
|
|
110 |
img = self.transform[phase](img)
|
111 |
return img
|
112 |
|
113 |
+
|
114 |
+
title = "<b>Generate Futuristic Images with NeonGAN</b>"
|
115 |
|
116 |
path = hf_hub_download('huggan/NeonGAN', 'model.bin')
|
117 |
model_gen_n = torch.load(path, map_location=torch.device('cpu'))
|
|
|
151 |
outputs,
|
152 |
examples = examples,
|
153 |
title=title,
|
|
|
154 |
theme="huggingface",
|
155 |
).launch(enable_queue=True)
|
156 |
|