openfree commited on
Commit
7b3fa19
โ€ข
1 Parent(s): d8e7b06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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="Nymbo/Nymbo_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