arxivgpt kim commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,23 +68,20 @@ footer {
|
|
| 68 |
visibility: hidden;
|
| 69 |
}
|
| 70 |
"""
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
output_html = gr.HTML(label="AI ์๋ต")
|
| 80 |
|
| 81 |
submit_button.click(
|
| 82 |
fn=predict,
|
| 83 |
inputs=text_input,
|
| 84 |
-
outputs=
|
| 85 |
)
|
| 86 |
|
| 87 |
-
|
| 88 |
-
demo.launch(
|
| 89 |
-
|
| 90 |
-
|
|
|
|
| 68 |
visibility: hidden;
|
| 69 |
}
|
| 70 |
"""
|
| 71 |
+
|
| 72 |
+
with gr.Blocks(css=css) as demo:
|
| 73 |
+
gr.Markdown("AIQ Codepilot")
|
| 74 |
+
gr.Markdown("AI ์๋ ํ๋ก๊ทธ๋๋ฐ ์๋น์ค")
|
| 75 |
+
gr.Markdown("Powred by Huggingface, Gradio, OpenAI, Python")
|
| 76 |
+
text_input = gr.Textbox(label="๋ฉ์์ง๋ฅผ ์
๋ ฅํ์ธ์...")
|
| 77 |
+
submit_button = gr.Button("์ ์ก")
|
| 78 |
+
output_text = gr.Textbox(label="AI ์๋ต")
|
|
|
|
| 79 |
|
| 80 |
submit_button.click(
|
| 81 |
fn=predict,
|
| 82 |
inputs=text_input,
|
| 83 |
+
outputs=output_text
|
| 84 |
)
|
| 85 |
|
| 86 |
+
# ์ธํฐํ์ด์ค ์คํ
|
| 87 |
+
demo.launch()
|
|
|
|
|
|