Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from pipeline import run_with_chain
|
| 3 |
|
| 4 |
-
def
|
| 5 |
return run_with_chain(query)
|
| 6 |
|
| 7 |
interface = gr.Interface(
|
| 8 |
fn=ask_dailywellness,
|
| 9 |
-
inputs=gr.Textbox(lines=2, label="Ask
|
| 10 |
-
outputs=gr.Textbox(label="
|
| 11 |
-
title="
|
| 12 |
-
description="Ask about wellness or
|
| 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__":
|