Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def fake_gan(count, *args):
|
|
23 |
return images
|
24 |
|
25 |
|
26 |
-
|
27 |
|
28 |
demo = gr.Interface(
|
29 |
fn=fake_gan,
|
@@ -39,12 +39,12 @@ demo = gr.Interface(
|
|
39 |
title="FD-GAN",
|
40 |
description="This is a fake demo of a GAN. In reality, the images are randomly chosen from Unsplash.",
|
41 |
examples=[
|
42 |
-
[2,
|
43 |
-
[1,
|
44 |
-
[4,
|
45 |
-
[5,
|
46 |
-
[4,
|
47 |
-
[3,
|
48 |
],
|
49 |
)
|
50 |
|
|
|
23 |
return images
|
24 |
|
25 |
|
26 |
+
lion = os.path.join(os.path.dirname(__file__), "lion.jpg")
|
27 |
|
28 |
demo = gr.Interface(
|
29 |
fn=fake_gan,
|
|
|
39 |
title="FD-GAN",
|
40 |
description="This is a fake demo of a GAN. In reality, the images are randomly chosen from Unsplash.",
|
41 |
examples=[
|
42 |
+
[2, lion , None, 12, None, None],
|
43 |
+
[1, lion , None, 2, None, None],
|
44 |
+
[4, lion , None, 42, None, None],
|
45 |
+
[5, lion , None, 23, None, None],
|
46 |
+
[4, lion , None, 11, None, None],
|
47 |
+
[3, lion , None, 1, None, None],
|
48 |
],
|
49 |
)
|
50 |
|