Spaces:
Runtime error
Runtime error
Commit
·
a89b64a
1
Parent(s):
e035ae6
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,7 @@ IPpipe = StableDiffusionInpaintPipeline.from_pretrained(
|
|
| 28 |
IPmodel_path,
|
| 29 |
revision="fp16",
|
| 30 |
torch_dtype=torch.float16,
|
| 31 |
-
use_auth_token=st.secrets["AUTH_TOKEN"]
|
| 32 |
-
num_images_per_prompt=num_samples,
|
| 33 |
).to(device)
|
| 34 |
|
| 35 |
trans_tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
|
|
|
|
| 28 |
IPmodel_path,
|
| 29 |
revision="fp16",
|
| 30 |
torch_dtype=torch.float16,
|
| 31 |
+
use_auth_token= st.secrets["AUTH_TOKEN"]
|
|
|
|
| 32 |
).to(device)
|
| 33 |
|
| 34 |
trans_tokenizer = AutoTokenizer.from_pretrained("facebook/nllb-200-distilled-600M")
|