Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,17 +15,15 @@ def download_video(link):
|
|
| 15 |
except Exception as e:
|
| 16 |
return f"Hata oluştu: {str(e)}"
|
| 17 |
|
| 18 |
-
# Gradio arayüzü
|
| 19 |
interface = gr.Interface(
|
| 20 |
fn=download_video,
|
| 21 |
inputs=gr.Textbox(label="YouTube Video Linki"),
|
| 22 |
outputs="text",
|
| 23 |
title="YouTube Video İndirici",
|
| 24 |
description="YouTube linkini girin ve videoyu MP4 formatında indirin.",
|
| 25 |
-
|
| 26 |
-
["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]
|
| 27 |
-
]
|
| 28 |
)
|
| 29 |
|
| 30 |
-
#
|
| 31 |
interface.launch(share=True)
|
|
|
|
| 15 |
except Exception as e:
|
| 16 |
return f"Hata oluştu: {str(e)}"
|
| 17 |
|
| 18 |
+
# Gradio arayüzü
|
| 19 |
interface = gr.Interface(
|
| 20 |
fn=download_video,
|
| 21 |
inputs=gr.Textbox(label="YouTube Video Linki"),
|
| 22 |
outputs="text",
|
| 23 |
title="YouTube Video İndirici",
|
| 24 |
description="YouTube linkini girin ve videoyu MP4 formatında indirin.",
|
| 25 |
+
|
|
|
|
|
|
|
| 26 |
)
|
| 27 |
|
| 28 |
+
#başlat
|
| 29 |
interface.launch(share=True)
|