Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ iframe {
|
|
| 20 |
}
|
| 21 |
.gr-column {
|
| 22 |
padding: 10px;
|
| 23 |
-
width:
|
| 24 |
}
|
| 25 |
/* '์ฝ๋' ํฌํจ ๊ฒฐ๊ณผ์ ๋ํ ์คํ์ผ */
|
| 26 |
.code-result {
|
|
@@ -55,19 +55,13 @@ def process_result(input_text):
|
|
| 55 |
|
| 56 |
def app():
|
| 57 |
with gr.Blocks(css=css_style) as demo:
|
| 58 |
-
gr.Markdown("# AIQ
|
| 59 |
with gr.Row():
|
| 60 |
-
|
| 61 |
-
gr.Markdown("### AIQ Codepilot", elem_id="title-1")
|
| 62 |
-
gr.HTML(value='<iframe src="https://www.chatbase.co/chatbot-iframe/100-daum-net-eurma-q2o"></iframe>')
|
| 63 |
-
|
| 64 |
-
with gr.Column():
|
| 65 |
-
gr.Markdown("### ์น์๋น์ค ๋์ ํ๋ฉด", elem_id="title-2")
|
| 66 |
-
gr.HTML(value='<iframe src="https://seawolf2357-frametest1.hf.space"></iframe>')
|
| 67 |
|
| 68 |
# ์
๋ ฅ ํ๋์ ๊ฒฐ๊ณผ ์ถ๋ ฅ ์ค์
|
| 69 |
input_text = gr.Textbox(label="์ฌ๊ธฐ์ ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์")
|
| 70 |
-
result = gr.HTML()
|
| 71 |
input_text.change(fn=process_result, inputs=input_text, outputs=result)
|
| 72 |
|
| 73 |
return demo
|
|
|
|
| 20 |
}
|
| 21 |
.gr-column {
|
| 22 |
padding: 10px;
|
| 23 |
+
width: 100%; /* ์ ์ฒด ๋๋น ์ฌ์ฉ */
|
| 24 |
}
|
| 25 |
/* '์ฝ๋' ํฌํจ ๊ฒฐ๊ณผ์ ๋ํ ์คํ์ผ */
|
| 26 |
.code-result {
|
|
|
|
| 55 |
|
| 56 |
def app():
|
| 57 |
with gr.Blocks(css=css_style) as demo:
|
| 58 |
+
gr.Markdown("## AIQ์ฝ๋ํ์ผ๋ฟ", elem_id="main-title")
|
| 59 |
with gr.Row():
|
| 60 |
+
gr.HTML(value='<iframe src="https://www.chatbase.co/chatbot-iframe/100-daum-net-eurma-q2o"></iframe>')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
# ์
๋ ฅ ํ๋์ ๊ฒฐ๊ณผ ์ถ๋ ฅ ์ค์
|
| 63 |
input_text = gr.Textbox(label="์ฌ๊ธฐ์ ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์")
|
| 64 |
+
result = gr.HTML()
|
| 65 |
input_text.change(fn=process_result, inputs=input_text, outputs=result)
|
| 66 |
|
| 67 |
return demo
|