eternalBlissard
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ client = OpenAI(
|
|
21 |
)
|
22 |
|
23 |
val = None
|
|
|
24 |
def random_name_generator():
|
25 |
length = random.randint(10, 15) # Random length between 10 and 15
|
26 |
characters = string.ascii_letters + string.digits # All alphanumeric characters
|
@@ -30,7 +31,7 @@ def random_name_generator():
|
|
30 |
# Example usage:
|
31 |
# print(random_name_generator())
|
32 |
|
33 |
-
|
34 |
def outputProducer(inputVideo):
|
35 |
print(inputVideo)
|
36 |
input_file = ffmpeg.input(inputVideo)
|
|
|
21 |
)
|
22 |
|
23 |
val = None
|
24 |
+
@spaces.GPU(duration=1)
|
25 |
def random_name_generator():
|
26 |
length = random.randint(10, 15) # Random length between 10 and 15
|
27 |
characters = string.ascii_letters + string.digits # All alphanumeric characters
|
|
|
31 |
# Example usage:
|
32 |
# print(random_name_generator())
|
33 |
|
34 |
+
|
35 |
def outputProducer(inputVideo):
|
36 |
print(inputVideo)
|
37 |
input_file = ffmpeg.input(inputVideo)
|