lemonaddie commited on
Commit
2038182
1 Parent(s): 217a2f9

Update app1.py

Browse files
Files changed (1) hide show
  1. app1.py +21 -13
app1.py CHANGED
@@ -33,13 +33,24 @@ def process(
33
 
34
  input_image = Image.open(path_input)
35
 
 
 
 
 
 
 
 
 
 
 
36
  pipe_out = pipe(
37
  input_image,
38
- ensemble_size=ensemble_size,
39
- denoising_steps=denoise_steps,
40
- processing_res=processing_res,
41
- domain=domain,
42
- batch_size=1 if processing_res == 0 else 0,
 
43
  show_progress_bar=True,
44
  )
45
 
@@ -88,19 +99,16 @@ def run_demo_server(pipe):
88
  ) as demo:
89
  gr.Markdown(
90
  """
91
- <h1 align="center">Geowizard</h1>
92
  <p align="center">
93
- <a title="Website" href="https://marigoldmonodepth.github.io/" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
94
  <img src="https://www.obukhov.ai/img/badges/badge-website.svg">
95
  </a>
96
- <a title="arXiv" href="https://arxiv.org/abs/2312.02145" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
97
  <img src="https://www.obukhov.ai/img/badges/badge-pdf.svg">
98
  </a>
99
- <a title="Github" href="https://github.com/prs-eth/marigold" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
100
- <img src="https://img.shields.io/github/stars/prs-eth/marigold?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
101
- </a>
102
- <a title="Social" href="https://twitter.com/antonobukhov1" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
103
- <img src="https://www.obukhov.ai/img/badges/badge-social.svg" alt="social">
104
  </a>
105
  </p>
106
  <p align="justify">
 
33
 
34
  input_image = Image.open(path_input)
35
 
36
+ # pipe_out = pipe(
37
+ # input_image,
38
+ # ensemble_size=ensemble_size,
39
+ # denoising_steps=denoise_steps,
40
+ # processing_res=processing_res,
41
+ # domain=domain,
42
+ # batch_size=1 if processing_res == 0 else 0,
43
+ # show_progress_bar=True,
44
+ # )
45
+
46
  pipe_out = pipe(
47
  input_image,
48
+ denoising_steps=10,
49
+ ensemble_size=1,
50
+ processing_res=768,
51
+ batch_size=0,
52
+ guidance_scale=3,
53
+ domain="indoor",
54
  show_progress_bar=True,
55
  )
56
 
 
99
  ) as demo:
100
  gr.Markdown(
101
  """
102
+ <h1 align="center">GeoWizard</h1>
103
  <p align="center">
104
+ <a title="Website" href="https://fuxiao0719.github.io/projects/geowizard/" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
105
  <img src="https://www.obukhov.ai/img/badges/badge-website.svg">
106
  </a>
107
+ <a title="arXiv" href="https://arxiv.org/abs/2403.12013" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
108
  <img src="https://www.obukhov.ai/img/badges/badge-pdf.svg">
109
  </a>
110
+ <a title="Github" href="https://github.com/fuxiao0719/GeoWizard" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
111
+ <img src="https://img.shields.io/github/stars/fuxiao0719/GeoWizard" alt="badge-github-stars">
 
 
 
112
  </a>
113
  </p>
114
  <p align="justify">