Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,18 +82,10 @@ examples = [
|
|
| 82 |
description = "Real-time AI App with Groq API and LangChain to Answer medical questions"
|
| 83 |
|
| 84 |
|
| 85 |
-
chatbot = gr.Chatbot([{"role":"assistant", "content":"Hey I am medical expert, how can I help you today?"}],
|
| 86 |
-
type="messages",
|
| 87 |
-
avatar_images=None,
|
| 88 |
-
height="60vh")
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
title = "Medical Expert :) Try me!"
|
| 93 |
demo = gr.ChatInterface(fn=rag_memory_stream,
|
| 94 |
type="messages",
|
| 95 |
title=title,
|
| 96 |
-
chatbot=chatbot,
|
| 97 |
description=description,
|
| 98 |
fill_height=True,
|
| 99 |
examples=examples,
|
|
|
|
| 82 |
description = "Real-time AI App with Groq API and LangChain to Answer medical questions"
|
| 83 |
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
title = "Medical Expert :) Try me!"
|
| 86 |
demo = gr.ChatInterface(fn=rag_memory_stream,
|
| 87 |
type="messages",
|
| 88 |
title=title,
|
|
|
|
| 89 |
description=description,
|
| 90 |
fill_height=True,
|
| 91 |
examples=examples,
|