Tawkat commited on
Commit
d345f76
1 Parent(s): ca832a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -1,9 +1,12 @@
1
- from huggingface_hub import InferenceClient
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):
 
1
+ from huggingface_hub import InferenceClient, get_inference_endpoint
2
  import gradio as gr
3
 
4
+ endpoint = get_inference_endpoint("qlora-nursegpt-nclex-mis-dt--eca")
5
+ client = endpoint.client()
6
+
7
+ '''client = InferenceClient(
8
  "Tawkat/qlora-nursegpt-nclex-mis-DT-v1"
9
+ )'''
10
 
11
 
12
  def format_prompt(message, history):