Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from googleapiclient.discovery import build
|
2 |
import gradio as gr
|
3 |
|
4 |
-
# API ํค์ ๊ฒ์ ์์ง ID ์ค์
|
5 |
API_KEY = 'AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY'
|
6 |
CSE_ID = '56b34994f47704ddd'
|
7 |
|
@@ -26,4 +26,5 @@ iface = gr.Interface(
|
|
26 |
description="์
๋ ฅ ํ
์คํธ๋ฅผ ๊ธฐ์ค์ผ๋ก ์น ๊ฒ์ ๊ฒฐ๊ณผ์ YouTube ๋น๋์ค ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ ๊ตฌ๋ถํ์ฌ ์ถ๋ ฅํฉ๋๋ค."
|
27 |
)
|
28 |
|
29 |
-
|
|
|
|
1 |
from googleapiclient.discovery import build
|
2 |
import gradio as gr
|
3 |
|
4 |
+
# API ํค์ ๊ฒ์ ์์ง ID ์ค์ (๋ณด์์ ์ํด ์ค์ ํค๋ ์ฌ๊ธฐ์ ์ง์ ํฌํจ์ํค์ง ์์)
|
5 |
API_KEY = 'AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY'
|
6 |
CSE_ID = '56b34994f47704ddd'
|
7 |
|
|
|
26 |
description="์
๋ ฅ ํ
์คํธ๋ฅผ ๊ธฐ์ค์ผ๋ก ์น ๊ฒ์ ๊ฒฐ๊ณผ์ YouTube ๋น๋์ค ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ ๊ตฌ๋ถํ์ฌ ์ถ๋ ฅํฉ๋๋ค."
|
27 |
)
|
28 |
|
29 |
+
if __name__ == "__main__":
|
30 |
+
iface.launch()
|