Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import spaces
|
|
12 |
import torch
|
13 |
from diffusers import DiffusionPipeline
|
14 |
|
15 |
-
DESCRIPTION = """Hepbilen.com
|
16 |
if not torch.cuda.is_available():
|
17 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo may not work on CPU.</p>"
|
18 |
|
@@ -26,7 +26,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
26 |
|
27 |
NUM_IMAGES_PER_PROMPT = 1
|
28 |
|
29 |
-
valid_languages = {'
|
30 |
|
31 |
if torch.cuda.is_available():
|
32 |
pipe = DiffusionPipeline.from_pretrained(
|
|
|
12 |
import torch
|
13 |
from diffusers import DiffusionPipeline
|
14 |
|
15 |
+
DESCRIPTION = """Hepbilen.com Seslendirme Aracı"""
|
16 |
if not torch.cuda.is_available():
|
17 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo may not work on CPU.</p>"
|
18 |
|
|
|
26 |
|
27 |
NUM_IMAGES_PER_PROMPT = 1
|
28 |
|
29 |
+
valid_languages = {'tr', 'fr', 'esp', 'en'}
|
30 |
|
31 |
if torch.cuda.is_available():
|
32 |
pipe = DiffusionPipeline.from_pretrained(
|