AideepImage commited on
Commit
5149010
β€’
1 Parent(s): 84b71f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model_path = snapshot_download("archerfmy0831/sd-t2i-360panoimage")
12
  # Initialize pipelines
13
  txt2panoimg = Text2360PanoramaImagePipeline(model_path, torch_dtype=torch.float16)
14
 
15
- @spaces.GPU(duration=200)
16
  def text_to_pano(prompt, upscale):
17
  input_data = {'prompt': prompt, 'upscale': upscale, 'refinement': False}
18
  output = txt2panoimg(input_data)
 
12
  # Initialize pipelines
13
  txt2panoimg = Text2360PanoramaImagePipeline(model_path, torch_dtype=torch.float16)
14
 
15
+ @spaces.CPU(duration=200)
16
  def text_to_pano(prompt, upscale):
17
  input_data = {'prompt': prompt, 'upscale': upscale, 'refinement': False}
18
  output = txt2panoimg(input_data)