Spaces:
Build error
Build error
adymaharana
commited on
Commit
•
1d4bf57
1
Parent(s):
4a1e52f
Added lines for downloading checkpoint
Browse files- app.py +1 -2
- demo/images/gradio_demo_pororo_118.png +3 -0
- demo/images/gradio_demo_pororo_407.png +3 -0
- demo/images/gradio_demo_pororo_576.png +3 -0
- demo/images/gradio_demo_pororo_778.png +3 -0
- demo/images/gradio_demo_pororo_847.png +3 -0
- demo/images/gradio_demo_pororo_877.png +3 -0
- demo/images/gradio_demo_pororo_908.png +3 -0
- demo/images/gradio_demo_pororo_982.png +3 -0
- demo/texts/gradio_demo_pororo_118.txt +4 -0
- demo/texts/gradio_demo_pororo_407.txt +4 -0
- demo/texts/gradio_demo_pororo_576.txt +4 -0
- demo/texts/gradio_demo_pororo_778.txt +4 -0
- demo/texts/gradio_demo_pororo_847.txt +4 -0
- demo/texts/gradio_demo_pororo_877.txt +4 -0
- demo/texts/gradio_demo_pororo_908.txt +4 -0
- demo/texts/gradio_demo_pororo_982.txt +4 -0
- demo_pororo_good.png +3 -0
- demo_pororo_good_v1.png +3 -0
app.py
CHANGED
@@ -127,7 +127,7 @@ def main(args):
|
|
127 |
png_url = 'https://drive.google.com/u/1/uc?id=1C33A1IzSHDPoQ4QBsgFWbF61QWaAxRo_&export=download'
|
128 |
|
129 |
#if not os.path.exists("./ckpt/25.pth"):
|
130 |
-
|
131 |
# print("Downloaded checkpoint")
|
132 |
#assert os.path.exists("./ckpt/25.pth")
|
133 |
gdown.download(png_url, quiet=True, use_cookies=False, output="demo_pororo_good.png")
|
@@ -330,7 +330,6 @@ def main(args):
|
|
330 |
''')
|
331 |
|
332 |
demo.launch(share=False)
|
333 |
-
demo.launch()
|
334 |
|
335 |
|
336 |
if __name__ == "__main__":
|
|
|
127 |
png_url = 'https://drive.google.com/u/1/uc?id=1C33A1IzSHDPoQ4QBsgFWbF61QWaAxRo_&export=download'
|
128 |
|
129 |
#if not os.path.exists("./ckpt/25.pth"):
|
130 |
+
gdown.download(model_url, quiet=False, use_cookies=False, output="./ckpt/25.pth")
|
131 |
# print("Downloaded checkpoint")
|
132 |
#assert os.path.exists("./ckpt/25.pth")
|
133 |
gdown.download(png_url, quiet=True, use_cookies=False, output="demo_pororo_good.png")
|
|
|
330 |
''')
|
331 |
|
332 |
demo.launch(share=False)
|
|
|
333 |
|
334 |
|
335 |
if __name__ == "__main__":
|
demo/images/gradio_demo_pororo_118.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_407.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_576.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_778.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_847.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_877.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_908.png
ADDED
Git LFS Details
|
demo/images/gradio_demo_pororo_982.png
ADDED
Git LFS Details
|
demo/texts/gradio_demo_pororo_118.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Pororo is reading a book.
|
2 |
+
Pororo is sleeping on the couch.
|
3 |
+
Pororo wakes up in the middle of the night in his bed.
|
4 |
+
Pororo is in his bedroom and looks terrified.
|
demo/texts/gradio_demo_pororo_407.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
There is a doughnut on the table.
|
2 |
+
Poby looks happily at the donut.
|
3 |
+
Poby is eating the donut.
|
4 |
+
Pororo comes looking for the donut.
|
demo/texts/gradio_demo_pororo_576.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Pororo is reading a book.
|
2 |
+
Pororo is sleeping on the couch.
|
3 |
+
Pororo wakes up in the middle of the night in his bed.
|
4 |
+
Pororo is in his bedroom and looks terrified.
|
demo/texts/gradio_demo_pororo_778.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
There is a doughnut on the table.
|
2 |
+
Poby looks happily at the doughnut on the table.
|
3 |
+
Poby is eating the doughnut from the table.
|
4 |
+
Pororo comes looking for the doughnut.
|
demo/texts/gradio_demo_pororo_847.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
There is a single doughnut on the table.
|
2 |
+
Poby looks happily at the doughnut on the table.
|
3 |
+
Poby is eating the doughnut from the table.
|
4 |
+
Pororo comes looking for the doughnut.
|
demo/texts/gradio_demo_pororo_877.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
There is a doughnut on the table.
|
2 |
+
Poby looks happily at the doughnut on the table.
|
3 |
+
Poby is eating the doughnut from the table.
|
4 |
+
Pororo comes looking for the doughnut.
|
demo/texts/gradio_demo_pororo_908.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
There is a donut on the table.
|
2 |
+
Poby looks happily at the donut.
|
3 |
+
Poby is eating the donut.
|
4 |
+
Pororo comes looking for the donut.
|
demo/texts/gradio_demo_pororo_982.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Pororo is reading a book.
|
2 |
+
Pororo is sleeping on the couch.
|
3 |
+
Pororo wakes up in the middle of the night in his bed.
|
4 |
+
Pororo is in his bedroom and looks terrified.
|
demo_pororo_good.png
ADDED
Git LFS Details
|
demo_pororo_good_v1.png
ADDED
Git LFS Details
|