Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -254,4 +254,12 @@ with gr.Blocks() as demo:
|
|
254 |
analyze_button = gr.Button("๋ถ์ํ๊ธฐ")
|
255 |
analyze_button.click(fn=analyze_character, inputs=[lunIljin_state, OPENAI_API_KEY_input], outputs=character_output)
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
demo.launch()
|
|
|
254 |
analyze_button = gr.Button("๋ถ์ํ๊ธฐ")
|
255 |
analyze_button.click(fn=analyze_character, inputs=[lunIljin_state, OPENAI_API_KEY_input], outputs=character_output)
|
256 |
|
257 |
+
|
258 |
+
with gr.Tab("์ ๋ช
์ธ"):
|
259 |
+
celebrity_input = gr.Textbox(label="์ ๋ช
์ธ ์ด๋ฆ", placeholder="์ฌ๊ธฐ์ ์ ๋ช
์ธ์ ์ด๋ฆ์ ์
๋ ฅํ์ธ์")
|
260 |
+
celebrity_output = gr.HTML() # ์ ๋ช
์ธ ๋ถ์ ๊ฒฐ๊ณผ๋ฅผ ์ถ๋ ฅํ HTML ์ปดํฌ๋ํธ
|
261 |
+
celebrity_analyze_button = gr.Button("๋ถ์ํ๊ธฐ")
|
262 |
+
celebrity_analyze_button.click(fn=analyze_celebrity, inputs=[lunIljin_state, OPENAI_API_KEY_input], outputs=celebrity_output)
|
263 |
+
|
264 |
+
|
265 |
demo.launch()
|