Update app.py
Browse files
app.py
CHANGED
|
@@ -82,6 +82,13 @@ def respond(
|
|
| 82 |
except Exception as e:
|
| 83 |
yield f"์ถ๋ก ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {str(e)}"
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
# Gradio ์ธํฐํ์ด์ค ์ค์
|
| 86 |
demo = gr.ChatInterface(
|
| 87 |
respond,
|
|
@@ -107,7 +114,8 @@ demo = gr.ChatInterface(
|
|
| 107 |
["ํนํ ์ถ์์ ํ์ฉํ ๊ธฐ์ ๋ฐ ๋น์ฆ๋์ค๋ชจ๋ธ ์ธก๋ฉด์ ํฌํจํ์ฌ ํนํ ์ถ์์ ๊ตฌ์ฑ์ ๋ง๊ฒ ์์ฑํ๋ผ"],
|
| 108 |
["๊ณ์ ์ด์ด์ ๋ต๋ณํ๋ผ"],
|
| 109 |
],
|
| 110 |
-
theme="
|
|
|
|
| 111 |
cache_examples=False,
|
| 112 |
)
|
| 113 |
|
|
|
|
| 82 |
except Exception as e:
|
| 83 |
yield f"์ถ๋ก ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค: {str(e)}"
|
| 84 |
|
| 85 |
+
css = """
|
| 86 |
+
footer {
|
| 87 |
+
visibility: hidden;
|
| 88 |
+
}
|
| 89 |
+
"""
|
| 90 |
+
|
| 91 |
+
|
| 92 |
# Gradio ์ธํฐํ์ด์ค ์ค์
|
| 93 |
demo = gr.ChatInterface(
|
| 94 |
respond,
|
|
|
|
| 114 |
["ํนํ ์ถ์์ ํ์ฉํ ๊ธฐ์ ๋ฐ ๋น์ฆ๋์ค๋ชจ๋ธ ์ธก๋ฉด์ ํฌํจํ์ฌ ํนํ ์ถ์์ ๊ตฌ์ฑ์ ๋ง๊ฒ ์์ฑํ๋ผ"],
|
| 115 |
["๊ณ์ ์ด์ด์ ๋ต๋ณํ๋ผ"],
|
| 116 |
],
|
| 117 |
+
theme="Yntec/HaleyCH_Theme_Orange",
|
| 118 |
+
css=css,
|
| 119 |
cache_examples=False,
|
| 120 |
)
|
| 121 |
|