error name
Browse files
app.py
CHANGED
@@ -178,8 +178,7 @@ YOUR FFMPEG COMMAND:
|
|
178 |
|
179 |
return command
|
180 |
except Exception as e:
|
181 |
-
|
182 |
-
raise Exception("OpenAI API error")
|
183 |
|
184 |
|
185 |
def update(files, prompt, top_p=1, temperature=1):
|
@@ -306,12 +305,6 @@ with gr.Blocks() as demo:
|
|
306 |
0.7,
|
307 |
0.1,
|
308 |
],
|
309 |
-
[
|
310 |
-
["./examples/waterfall-overlay.png", "./examples/waterfall.mp4"],
|
311 |
-
"Add the overlay to the video.",
|
312 |
-
0.7,
|
313 |
-
0.1,
|
314 |
-
],
|
315 |
[
|
316 |
[
|
317 |
"./examples/cat8.jpeg",
|
@@ -328,6 +321,12 @@ with gr.Blocks() as demo:
|
|
328 |
0.7,
|
329 |
0.1,
|
330 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
[
|
332 |
["./examples/example.mp4"],
|
333 |
"Make this video 10 times faster",
|
|
|
178 |
|
179 |
return command
|
180 |
except Exception as e:
|
181 |
+
raise Exception("API Error")
|
|
|
182 |
|
183 |
|
184 |
def update(files, prompt, top_p=1, temperature=1):
|
|
|
305 |
0.7,
|
306 |
0.1,
|
307 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
308 |
[
|
309 |
[
|
310 |
"./examples/cat8.jpeg",
|
|
|
321 |
0.7,
|
322 |
0.1,
|
323 |
],
|
324 |
+
[
|
325 |
+
["./examples/waterfall-overlay.png", "./examples/waterfall.mp4"],
|
326 |
+
"Add the overlay to the video.",
|
327 |
+
0.7,
|
328 |
+
0.1,
|
329 |
+
],
|
330 |
[
|
331 |
["./examples/example.mp4"],
|
332 |
"Make this video 10 times faster",
|