SerdarHelli commited on
Commit
2f68096
1 Parent(s): 38df813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -4
app.py CHANGED
@@ -14,8 +14,8 @@ sys.path.append("diffusion-point-cloud")
14
  from models.vae_gaussian import *
15
  from models.vae_flow import *
16
 
17
- airplane=network_pkl=hf_hub_download("SerdarHelli/diffusion-point-cloud", filename="GEN_airplane.pt",revision="main")
18
- chair=network_pkl=hf_hub_download("SerdarHelli/diffusion-point-cloud", filename="GEN_chair.pt",revision="main")
19
 
20
  device='cuda' if torch.cuda.is_available() else 'cpu'
21
 
@@ -99,10 +99,21 @@ def generate(seed,value):
99
 
100
  markdown=f'''
101
  # Diffusion Probabilistic Models for 3D Point Cloud Generation
102
- [[The Paper](https://arxiv.org/abs/2103.01458)] [[Original Code](https://github.com/luost26/diffusion-point-cloud)]
103
- The space demo for our CVPR 2021 paper "Diffusion Probabilistic Models for 3D Point Cloud Generation".
104
 
105
  It is running on {device}
 
 
 
 
 
 
 
 
 
 
 
106
  '''
107
  with gr.Blocks() as demo:
108
  with gr.Column():
 
14
  from models.vae_gaussian import *
15
  from models.vae_flow import *
16
 
17
+ airplane=hf_hub_download("SerdarHelli/diffusion-point-cloud", filename="GEN_airplane.pt",revision="main")
18
+ chair="./GEN_chair.pt"
19
 
20
  device='cuda' if torch.cuda.is_available() else 'cpu'
21
 
 
99
 
100
  markdown=f'''
101
  # Diffusion Probabilistic Models for 3D Point Cloud Generation
102
+ [The space demo for the CVPR 2021 paper "Diffusion Probabilistic Models for 3D Point Cloud Generation".](https://arxiv.org/abs/2103.01458)
103
+ [For the official implementation.](https://github.com/luost26/diffusion-point-cloud)
104
 
105
  It is running on {device}
106
+
107
+ ### Citation By
108
+
109
+ @inproceedings{luo2021diffusion,
110
+ author = {Luo, Shitong and Hu, Wei},
111
+ title = {Diffusion Probabilistic Models for 3D Point Cloud Generation},
112
+ booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
113
+ month = {June},
114
+ year = {2021}
115
+ }
116
+
117
  '''
118
  with gr.Blocks() as demo:
119
  with gr.Column():