datacipen commited on
Commit
c22d6f0
·
verified ·
1 Parent(s): 9f3f217

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -7
main.py CHANGED
@@ -92,13 +92,6 @@ model = HuggingFaceEndpoint(
92
  repo_id=repo_id, max_new_tokens=8000, temperature=1.0, task="text2text-generation", streaming=True
93
  )
94
 
95
- @cl.set_chat_profiles
96
- async def chat_profile():
97
- return [
98
- cl.ChatProfile(name="Reviewstream",markdown_description="Requêter sur les publications de recherche",icon="/public/logo-ofipe.jpg",),
99
- cl.ChatProfile(name="Imagestream",markdown_description="Requêter sur un ensemble d'images",icon="./public/logo-ofipe.jpg",),
100
- ]
101
-
102
  @cl.on_chat_start
103
  async def on_chat_start():
104
  await cl.Message(f"> REVIEWSTREAM").send()
 
92
  repo_id=repo_id, max_new_tokens=8000, temperature=1.0, task="text2text-generation", streaming=True
93
  )
94
 
 
 
 
 
 
 
 
95
  @cl.on_chat_start
96
  async def on_chat_start():
97
  await cl.Message(f"> REVIEWSTREAM").send()