adymaharana commited on
Commit
1d4bf57
1 Parent(s): 4a1e52f

Added lines for downloading checkpoint

Browse files
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
- # 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,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

  • SHA256: 8005ba97534f699fa1dd693caa2736b2d3b23ecc7c84253260bb89df6bf8b5b0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
demo/images/gradio_demo_pororo_407.png ADDED

Git LFS Details

  • SHA256: e59604f7f87027f2ef5061f5d26b9a999ddb86a4a75f3de215a94b8fe8b05492
  • Pointer size: 132 Bytes
  • Size of remote file: 1.36 MB
demo/images/gradio_demo_pororo_576.png ADDED

Git LFS Details

  • SHA256: 3dc34fe65e00ed34414abf1d6fa69788fd6a28125e9021f818d5d01b38bcc6ed
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB
demo/images/gradio_demo_pororo_778.png ADDED

Git LFS Details

  • SHA256: dd566e02dd679cfb0039b3cacd97a76cd6994bbd2af18b0f2ee03619c7a2537c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.23 MB
demo/images/gradio_demo_pororo_847.png ADDED

Git LFS Details

  • SHA256: 2f30e3ed13915387155931e789381a864053aa72b9aa5fdcbaefeb6047ebd455
  • Pointer size: 132 Bytes
  • Size of remote file: 1.19 MB
demo/images/gradio_demo_pororo_877.png ADDED

Git LFS Details

  • SHA256: 493fcd8731651d7205d0c11a1a0541cf4720028d072a4bac7e5f0646b99761b8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.25 MB
demo/images/gradio_demo_pororo_908.png ADDED

Git LFS Details

  • SHA256: 0b3c6fc419da8cfadb8f75fe8433844df7ff7ead160f108d0675ad15be17f6d1
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB
demo/images/gradio_demo_pororo_982.png ADDED

Git LFS Details

  • SHA256: d34423ea6b42a0f0ce5a642e926bb053e4b2a0ee623cfe486dfbbe22dbc85e0e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB
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

  • SHA256: 643d209efc656fbeb52b7ebdb4a93f6facb2a241ff4e2ddd32897662181a65d0
  • Pointer size: 132 Bytes
  • Size of remote file: 2.98 MB
demo_pororo_good_v1.png ADDED

Git LFS Details

  • SHA256: 5f38f84bd10e56654d8814a11bad02dd7f5e9f27426c7a849f29804b441da72c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.97 MB