Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,9 @@ This AI will 'dream' you up a virtual pet.
|
|
36 |
\nThis is a denoising diffusion model trained in 48 hours for a hackathon, so the images can be pretty wonky.
|
37 |
\nImages are 128x128px.
|
38 |
|
39 |
-
\nBecause gradio isn't giving me a GPU, it takes 10-15 minutes to generate an image. Quick inference can be run in the <a href="https://colab.research.google.com/drive/19QtPOHv6HCpexyCMGXowX4vyZlF4ZZYN?usp=sharing">colab notebook</a
|
|
|
|
|
40 |
"""
|
41 |
article = '''Here's a gallery of some of the better pets:
|
42 |
<div style="display: flex; justify-content:space-evenly">
|
@@ -44,7 +46,9 @@ article = '''Here's a gallery of some of the better pets:
|
|
44 |
<img src="https://alexlyman.org/external_images/sample_5.png" >
|
45 |
<img src="https://alexlyman.org/external_images/sample_4.png" >
|
46 |
<img src="https://alexlyman.org/external_images/sample_8.png" >
|
47 |
-
</div>
|
|
|
|
|
48 |
gr.Interface(
|
49 |
fn=go,
|
50 |
inputs= gr.Slider(1, 4, value = 2, step = 1, label="Number of images to generate (more takes longer)"),
|
|
|
36 |
\nThis is a denoising diffusion model trained in 48 hours for a hackathon, so the images can be pretty wonky.
|
37 |
\nImages are 128x128px.
|
38 |
|
39 |
+
\nBecause gradio isn't giving me a GPU, it takes 10-15 minutes to generate an image. Quick inference can be run in the <a href="https://colab.research.google.com/drive/19QtPOHv6HCpexyCMGXowX4vyZlF4ZZYN?usp=sharing">colab notebook</a>.
|
40 |
+
\n <a href="https://github.com/ke7osm/VirtualPet-Dream">Github Repo</a>
|
41 |
+
|
42 |
"""
|
43 |
article = '''Here's a gallery of some of the better pets:
|
44 |
<div style="display: flex; justify-content:space-evenly">
|
|
|
46 |
<img src="https://alexlyman.org/external_images/sample_5.png" >
|
47 |
<img src="https://alexlyman.org/external_images/sample_4.png" >
|
48 |
<img src="https://alexlyman.org/external_images/sample_8.png" >
|
49 |
+
</div>
|
50 |
+
\n
|
51 |
+
'''
|
52 |
gr.Interface(
|
53 |
fn=go,
|
54 |
inputs= gr.Slider(1, 4, value = 2, step = 1, label="Number of images to generate (more takes longer)"),
|