yoon2566 commited on
Commit
09c8e83
ยท
verified ยท
1 Parent(s): 165a3e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,13 +29,13 @@ def generate_response(prompt):
29
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค ์ƒ์„ฑ
30
  def main():
31
  with gr.Blocks() as demo:
32
- gr.Markdown("## GPT-4 ๋Œ€ํ™” ์ธํ„ฐํŽ˜์ด์Šค")
33
  with gr.Row():
34
  with gr.Column():
35
  prompt_input = gr.Textbox(label="ํ”„๋กฌํ”„ํŠธ ์ž…๋ ฅ", placeholder="ํ”„๋กฌํ”„ํŠธ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”...")
36
  submit_button = gr.Button("์‘๋‹ต ์š”์ฒญ")
37
  with gr.Column():
38
- response_output = gr.Textbox(label="GPT-4 ์‘๋‹ต", placeholder="GPT์˜ ๋‹ต๋ณ€์ด ์—ฌ๊ธฐ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค...")
39
 
40
  # ๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ
41
  submit_button.click(
 
29
  # Gradio ์ธํ„ฐํŽ˜์ด์Šค ์ƒ์„ฑ
30
  def main():
31
  with gr.Blocks() as demo:
32
+ gr.Markdown("## GPT-4o mini")
33
  with gr.Row():
34
  with gr.Column():
35
  prompt_input = gr.Textbox(label="ํ”„๋กฌํ”„ํŠธ ์ž…๋ ฅ", placeholder="ํ”„๋กฌํ”„ํŠธ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”...")
36
  submit_button = gr.Button("์‘๋‹ต ์š”์ฒญ")
37
  with gr.Column():
38
+ response_output = gr.Textbox(label="์‘๋‹ต", placeholder="GPT์˜ ๋‹ต๋ณ€์ด ์—ฌ๊ธฐ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค...")
39
 
40
  # ๋ฒ„ํŠผ ํด๋ฆญ ์ด๋ฒคํŠธ
41
  submit_button.click(