Spaces:
Running
Running
Rajkumar Pramanik "RJproz
commited on
Commit
·
3dde740
1
Parent(s):
5cdd1c9
bug fixes
Browse files
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
app.py
CHANGED
|
@@ -137,12 +137,8 @@ def greet(name):
|
|
| 137 |
return f"Hello {name}"
|
| 138 |
|
| 139 |
|
| 140 |
-
def generate_speech(description, text, temperature, max_tokens):
|
| 141 |
-
print(f"called generate_speech cpu")
|
| 142 |
-
return generate_speech_gpu(description,text,temperature,max_tokens)
|
| 143 |
-
|
| 144 |
@spaces.GPU
|
| 145 |
-
def
|
| 146 |
"""Generate emotional speech from description and text using Transformers."""
|
| 147 |
print(f"called generate_speech gpu")
|
| 148 |
try:
|
|
|
|
| 137 |
return f"Hello {name}"
|
| 138 |
|
| 139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
@spaces.GPU
|
| 141 |
+
def generate_speech(description, text, temperature, max_tokens):
|
| 142 |
"""Generate emotional speech from description and text using Transformers."""
|
| 143 |
print(f"called generate_speech gpu")
|
| 144 |
try:
|