springwater commited on
Commit
7640f86
ยท
verified ยท
1 Parent(s): 698bed8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,8 +76,8 @@ def summarize_button_click(keyword, OPENAI_API_KEY):
76
  # Define Gradio interface
77
  iface = gr.Interface(
78
  inputs=[
79
- keyword = gr.Textbox(label="keyword", placeholder='ํ‚ค์›Œ๋“œ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”. (์˜ˆ.๋น„ํŠธ์ฝ”์ธ)'),
80
- OPEN_API_KEY = gr.Textbox(label="OpenAI API ํ‚ค", placeholder="์—ฌ๊ธฐ์— OpenAI API ํ‚ค๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”")
81
  ],
82
  outputs=gr.JSON(label='์œ ํŠœ๋ธŒ 5๊ฐœ ์š”์•ฝ ๊ฒฐ๊ณผ'),
83
  title="Summarize YouTube Videos",
 
76
  # Define Gradio interface
77
  iface = gr.Interface(
78
  inputs=[
79
+ gr.Textbox(label="keyword", placeholder='ํ‚ค์›Œ๋“œ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”. (์˜ˆ.๋น„ํŠธ์ฝ”์ธ)'),
80
+ gr.Textbox(label="OpenAI API ํ‚ค", placeholder="์—ฌ๊ธฐ์— OpenAI API ํ‚ค๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”", name="OPENAI_API_KEY")
81
  ],
82
  outputs=gr.JSON(label='์œ ํŠœ๋ธŒ 5๊ฐœ ์š”์•ฝ ๊ฒฐ๊ณผ'),
83
  title="Summarize YouTube Videos",