Robert Pardela
commited on
Commit
·
258eb8f
1
Parent(s):
d30d2cc
changes
Browse files
app.py
CHANGED
|
@@ -14,6 +14,9 @@ response_list = []
|
|
| 14 |
|
| 15 |
# demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Test medical summarization chatbot", description="Enter text to summarize.")
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
demo_chatbot.launch()
|
|
|
|
| 14 |
|
| 15 |
# demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Test medical summarization chatbot", description="Enter text to summarize.")
|
| 16 |
|
| 17 |
+
def responseFun(message, history):
|
| 18 |
+
return history[len(history) - 1]
|
| 19 |
+
|
| 20 |
+
demo_chatbot = gr.ChatInterface(responseFun, title="Test medical summarization chatbot", description="Enter text to summarize.")
|
| 21 |
|
| 22 |
demo_chatbot.launch()
|