AFischer1985 commited on
Commit
f8bedfc
·
1 Parent(s): d423a74

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -2,7 +2,7 @@
2
  # Title: Gradio Interface to LLM-chatbot (for recommending AI) with RAG-funcionality and ChromaDB on HF-Hub
3
  # Author: Andreas Fischer
4
  # Date: December 30th, 2023
5
- # Last update: December 31th, 2023
6
  ##############################################################################################################
7
 
8
 
@@ -121,5 +121,5 @@ def response(
121
  output=output+"\n\n<br><details open><summary><strong>Sources</strong></summary><br><ul>"+ "".join(["<li>" + s + "</li>" for s in combination])+"</ul></details>"
122
  yield output
123
 
124
- gr.ChatInterface(response, chatbot=gr.Chatbot(render_markdown=True),title="German AI-RAG-Interface to the Hugging Face Hub").queue().launch(share=True) #False, server_name="0.0.0.0", server_port=7864)
125
  print("Interface up and running!")
 
2
  # Title: Gradio Interface to LLM-chatbot (for recommending AI) with RAG-funcionality and ChromaDB on HF-Hub
3
  # Author: Andreas Fischer
4
  # Date: December 30th, 2023
5
+ # Last update: January 2nd, 2023
6
  ##############################################################################################################
7
 
8
 
 
121
  output=output+"\n\n<br><details open><summary><strong>Sources</strong></summary><br><ul>"+ "".join(["<li>" + s + "</li>" for s in combination])+"</ul></details>"
122
  yield output
123
 
124
+ gr.ChatInterface(response, chatbot=gr.Chatbot(value=[[None,"Herzlich willkommen! Ich bin ein KI-basiertes Assistenzsystem, das für jede Anfrage die am besten geeigneten KI-Tools empfiehlt. Was ist ein Anliegen?"]],render_markdown=True),title="German AI-RAG-Interface to the Hugging Face Hub").queue().launch(share=True) #False, server_name="0.0.0.0", server_port=7864)
125
  print("Interface up and running!")