Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ txt2panoimg = Text2360PanoramaImagePipeline(model_path, torch_dtype=torch.float1
|
|
| 14 |
|
| 15 |
@spaces.GPU(duration=200)
|
| 16 |
def text_to_pano(prompt, upscale):
|
| 17 |
-
input_data = {'prompt': prompt, 'upscale': upscale}
|
| 18 |
output = txt2panoimg(input_data)
|
| 19 |
return output, output
|
| 20 |
|
|
|
|
| 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)
|
| 19 |
return output, output
|
| 20 |
|