Srikumar26 commited on
Commit
a6aa6d3
1 Parent(s): 4e75d29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import torch
2
  from diffusers import StableDiffusionPipeline, DDIMScheduler
3
  import gradio as gr
4
 
5
- pipe = StableDiffusionPipeline.from_pretrained("MVRL/GeoSynth")
6
  # scheduler = DDIMScheduler.from_pretrained("stabilityai/stable-diffusion-2-1-base")
7
  # pipe.scheduler = scheduler
8
 
@@ -23,7 +23,12 @@ def process(prompt, n_prompt, num_samples, image_resolution, ddim_steps, scale,
23
  block = gr.Blocks().queue()
24
  with block:
25
  with gr.Row():
26
- gr.Markdown("## Control Stable Diffusion with Depth Maps")
 
 
 
 
 
27
  with gr.Row():
28
  with gr.Column():
29
  prompt = gr.Textbox(label="Prompt")
 
2
  from diffusers import StableDiffusionPipeline, DDIMScheduler
3
  import gradio as gr
4
 
5
+ pipe = StableDiffusionPipeline.from_pretrained("MVRL/GeoSynth", torch_dtype=torch.float16)
6
  # scheduler = DDIMScheduler.from_pretrained("stabilityai/stable-diffusion-2-1-base")
7
  # pipe.scheduler = scheduler
8
 
 
23
  block = gr.Blocks().queue()
24
  with block:
25
  with gr.Row():
26
+ gr.Markdown(
27
+ """
28
+ # GeoSynth: Contextually-Aware High-Resolution Satellite Image Synthesis
29
+ Srikumar Sastry*, Subash Khanal, Aayush Dhakal, Nathan Jacobs (*Corresponding Author)<br>
30
+ """
31
+ )
32
  with gr.Row():
33
  with gr.Column():
34
  prompt = gr.Textbox(label="Prompt")