Phoenix21 commited on
Commit
8dc3636
·
verified ·
1 Parent(s): 6748fcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,15 +1,15 @@
1
  import gradio as gr
2
  from pipeline import run_with_chain
3
 
4
- def ask_dailywellness(query: str) -> str:
5
  return run_with_chain(query)
6
 
7
  interface = gr.Interface(
8
  fn=ask_dailywellness,
9
- inputs=gr.Textbox(lines=2, label="Ask DailyWellnessAI"),
10
- outputs=gr.Textbox(label="DailyWellnessAI Answer"),
11
- title="DailyWellnessAI",
12
- description="Ask about wellness or DailyWellnessAI brand. Out-of-scope"
13
  )
14
 
15
  if __name__ == "__main__":
 
1
  import gradio as gr
2
  from pipeline import run_with_chain
3
 
4
+ def ask_HealthyAIExpert(query: str) -> str:
5
  return run_with_chain(query)
6
 
7
  interface = gr.Interface(
8
  fn=ask_dailywellness,
9
+ inputs=gr.Textbox(lines=2, label="Ask Healthy AI Expert"),
10
+ outputs=gr.Textbox(label="Healthy AI Expert Answer"),
11
+ title="Healthy AI Expert",
12
+ description="Ask about wellness or HealthyAI Expert brand. Out-of-scope"
13
  )
14
 
15
  if __name__ == "__main__":