Spaces:
Running
Running
Commit ·
fe5350d
1
Parent(s): 2ef9fb3
FIX app
Browse files- app.py → main.py +2 -2
app.py → main.py
RENAMED
|
@@ -52,7 +52,7 @@ def calculate_times(input_url, input_text, ms_before, ms_after):
|
|
| 52 |
return input_url, "\n".join(res), df
|
| 53 |
|
| 54 |
|
| 55 |
-
|
| 56 |
fn=calculate_times,
|
| 57 |
inputs=[
|
| 58 |
gr.Textbox(lines=1, placeholder="Video URL...", label="Video URL"),
|
|
@@ -99,4 +99,4 @@ demo = gr.Interface(
|
|
| 99 |
],
|
| 100 |
)
|
| 101 |
|
| 102 |
-
|
|
|
|
| 52 |
return input_url, "\n".join(res), df
|
| 53 |
|
| 54 |
|
| 55 |
+
app = gr.Interface(
|
| 56 |
fn=calculate_times,
|
| 57 |
inputs=[
|
| 58 |
gr.Textbox(lines=1, placeholder="Video URL...", label="Video URL"),
|
|
|
|
| 99 |
],
|
| 100 |
)
|
| 101 |
|
| 102 |
+
app.launch()
|