Reality123b commited on
Commit
ae5eb30
·
verified ·
1 Parent(s): 83584f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
 
3
 
4
  # Initialize clients
5
- text_client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
6
  image_client = InferenceClient("SG161222/RealVisXL_V3.0")
7
 
8
  def check_custom_responses(message: str) -> str:
@@ -294,7 +295,6 @@ Version: Xylaria-1.2.9
294
 
295
  """
296
 
297
-
298
  # Gradio chat interface
299
  demo = gr.ChatInterface(
300
  respond,
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
+ import os
4
 
5
  # Initialize clients
6
+ text_client = InferenceClient("mistralai/Mistral-Nemo-Instruct-2407", token=os.environ["hf_token"])
7
  image_client = InferenceClient("SG161222/RealVisXL_V3.0")
8
 
9
  def check_custom_responses(message: str) -> str:
 
295
 
296
  """
297
 
 
298
  # Gradio chat interface
299
  demo = gr.ChatInterface(
300
  respond,