Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Commit
•
e746ea4
1
Parent(s):
eb5cd64
Update app.py
Browse files
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
|
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.GPU
|
16 |
def text_to_pano(prompt, upscale):
|
17 |
input_data = {'prompt': prompt, 'upscale': upscale, 'refinement': False}
|
18 |
output = txt2panoimg(input_data)
|