elfgk commited on
Commit
51d80b2
·
verified ·
1 Parent(s): fb8892e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
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ü oluştur
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
- examples=[
26
- ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]
27
- ]
28
  )
29
 
30
- # Arayüzü başlat
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)