Update app.py
Browse files
app.py
CHANGED
@@ -75,6 +75,10 @@ def rag_memory_stream(text):
|
|
75 |
partial_text += new_text
|
76 |
yield partial_text
|
77 |
|
|
|
|
|
|
|
|
|
78 |
|
79 |
title = "Real-time AI App with Groq API and LangChain to Answer medical questions"
|
80 |
demo = gr.Interface(
|
@@ -82,6 +86,7 @@ demo = gr.Interface(
|
|
82 |
fn=rag_memory_stream,
|
83 |
inputs="text",
|
84 |
outputs="text",
|
|
|
85 |
allow_flagging="never",
|
86 |
)
|
87 |
|
|
|
75 |
partial_text += new_text
|
76 |
yield partial_text
|
77 |
|
78 |
+
examples = ['I feel dizzy', 'what is the possible sickness for fatigue']
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
|
83 |
title = "Real-time AI App with Groq API and LangChain to Answer medical questions"
|
84 |
demo = gr.Interface(
|
|
|
86 |
fn=rag_memory_stream,
|
87 |
inputs="text",
|
88 |
outputs="text",
|
89 |
+
examples=examples,
|
90 |
allow_flagging="never",
|
91 |
)
|
92 |
|