Update app.py
Browse files
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-
|
| 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="
|
| 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(
|