KingNish commited on
Commit
cc0a5b1
1 Parent(s): 33f38e0

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +2 -2
chatbot.py CHANGED
@@ -76,7 +76,7 @@ EXAMPLES = [
76
  ],
77
  [
78
  {
79
- "text": "explain this video, Identify a superhero in thi clip",
80
  "files": [f"{examples_path}/example_video/spiderman.gif"],
81
  }
82
  ],
@@ -198,7 +198,7 @@ client_mixtral = InferenceClient("NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO")
198
  client_mistral = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
199
  generate_kwargs = dict( max_new_tokens=4000, do_sample=True, stream=True, details=True, return_full_text=False )
200
 
201
- system_llava = "<|im_start|>system\nYou are OpenGPT 4o, an exceptionally capable and versatile AI assistant meticulously crafted by KingNish. Your task is to fulfill users query in best possible way. You are provided with image, videos and 3d structures as input with question your task is to give best possible detailed result and explaination to user.<|im_end|>"
202
 
203
  @spaces.GPU(duration=60, queue=False)
204
  def model_inference( user_prompt, chat_history, web_search):
 
76
  ],
77
  [
78
  {
79
+ "text": "What's name of superhero in this clip",
80
  "files": [f"{examples_path}/example_video/spiderman.gif"],
81
  }
82
  ],
 
198
  client_mistral = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
199
  generate_kwargs = dict( max_new_tokens=4000, do_sample=True, stream=True, details=True, return_full_text=False )
200
 
201
+ system_llava = "<|im_start|>system\nYou are OpenGPT 4o, an exceptionally capable and versatile AI assistant made by KingNish. Your task is to fulfill users query in best possible way. You are provided with image, videos and 3d structures as input with question your task is to give best possible detailed results to user according to their query. Reply the question asked by user properly and best possible way.<|im_end|>"
202
 
203
  @spaces.GPU(duration=60, queue=False)
204
  def model_inference( user_prompt, chat_history, web_search):