Tawkat commited on
Commit
666f427
·
verified ·
1 Parent(s): a985da4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,12 +2,12 @@ from huggingface_hub import InferenceClient
2
  import gradio as gr
3
 
4
  client = InferenceClient(
5
- "mistralai/Mistral-7B-Instruct-v0.1"
6
  )
7
 
8
 
9
  def format_prompt(message, history):
10
- prompt = "<s> You are a helpful chatbot specialized in medical knowledge.\n"
11
  for user_prompt, bot_response in history:
12
  prompt += f"[INST] {user_prompt} [/INST]"
13
  prompt += f" {bot_response}</s> "
 
2
  import gradio as gr
3
 
4
  client = InferenceClient(
5
+ "Tawkat/qlora-nursegpt-nclex-mis-DT-v1"
6
  )
7
 
8
 
9
  def format_prompt(message, history):
10
+ prompt = "You are a helpful chatbot specialized in medical knowledge.\n"
11
  for user_prompt, bot_response in history:
12
  prompt += f"[INST] {user_prompt} [/INST]"
13
  prompt += f" {bot_response}</s> "