gabrielsemiceki9 commited on
Commit
d740e61
·
verified ·
1 Parent(s): 5c73806

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -16
app.py CHANGED
@@ -1,17 +1,3 @@
1
- import os
2
- import sys
3
- import html
4
- import glob
5
- import uuid
6
- import hashlib
7
- import requests
8
- from tqdm import tqdm
9
-
10
- os.system("git clone https://github.com/FrozenBurning/SceneDreamer.git")
11
- os.system("cp -r SceneDreamer/* ./")
12
- os.system("bash install.sh")
13
-
14
-
15
  import os
16
  import torch
17
  import torch.nn as nn
@@ -127,9 +113,9 @@ with gr.Blocks() as demo:
127
  with gr.Column():
128
  with gr.Row():
129
  with gr.Column():
130
- semantic = gr.Image(value='./test/colormap.png',type="pil", height=512, width=512)
131
  with gr.Column():
132
- height = gr.Image(value='./test/heightmap.png', type="pil", height=512, width=512)
133
  with gr.Row():
134
  # with gr.Column():
135
  # image = gr.Image(type='pil', shape(540, 960))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import torch
3
  import torch.nn as nn
 
113
  with gr.Column():
114
  with gr.Row():
115
  with gr.Column():
116
+ semantic = gr.Image(value='./test/colormap.png',type="pil", shape=(512, 512))
117
  with gr.Column():
118
+ height = gr.Image(value='./test/heightmap.png', type="pil", shape=(512, 512))
119
  with gr.Row():
120
  # with gr.Column():
121
  # image = gr.Image(type='pil', shape(540, 960))