Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,8 @@ Original file is located at
|
|
| 7 |
|
| 8 |
import gradio as gr
|
| 9 |
import persona_alpha
|
|
|
|
|
|
|
| 10 |
|
| 11 |
persona_alpha_demo = gr.Interface(
|
| 12 |
description="人物誌生成器(Persona Generator),藉由選擇的CCS標籤資訊打造豐富的人物誌。",
|
|
@@ -58,7 +60,7 @@ persona_beta_demo = gr.Interface(
|
|
| 58 |
|
| 59 |
persona_beta_demo_schedule = gr.Interface(
|
| 60 |
description="人物誌生成器(Persona Generator),藉由輸入的Persona生成人物的一日行程。",
|
| 61 |
-
fn=
|
| 62 |
inputs=[gr.Textbox(label="角色人物描述",lines=25)],
|
| 63 |
outputs=[gr.Textbox(label="角色人物日程",lines=25)],
|
| 64 |
allow_flagging="never", )
|
|
|
|
| 7 |
|
| 8 |
import gradio as gr
|
| 9 |
import persona_alpha
|
| 10 |
+
import persona_beta
|
| 11 |
+
import persona_beta_schedule
|
| 12 |
|
| 13 |
persona_alpha_demo = gr.Interface(
|
| 14 |
description="人物誌生成器(Persona Generator),藉由選擇的CCS標籤資訊打造豐富的人物誌。",
|
|
|
|
| 60 |
|
| 61 |
persona_beta_demo_schedule = gr.Interface(
|
| 62 |
description="人物誌生成器(Persona Generator),藉由輸入的Persona生成人物的一日行程。",
|
| 63 |
+
fn=persona_beta_schedule.generate_persona_schedule,
|
| 64 |
inputs=[gr.Textbox(label="角色人物描述",lines=25)],
|
| 65 |
outputs=[gr.Textbox(label="角色人物日程",lines=25)],
|
| 66 |
allow_flagging="never", )
|