Reality123b commited on
Commit
adeed82
·
verified ·
1 Parent(s): 050c504

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ 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:
@@ -271,8 +271,8 @@ demo = gr.ChatInterface(
271
  ),
272
  gr.Slider(
273
  minimum=1,
274
- maximum=16343,
275
- value=16343,
276
  step=1,
277
  label="Max new tokens"
278
  ),
 
2
  from huggingface_hub import InferenceClient
3
 
4
  # Initialize clients
5
+ text_client = InferenceClient("HuggingFaceH4/starchat-beta")
6
  image_client = InferenceClient("SG161222/RealVisXL_V3.0")
7
 
8
  def check_custom_responses(message: str) -> str:
 
271
  ),
272
  gr.Slider(
273
  minimum=1,
274
+ maximum=4096,
275
+ value=2048,
276
  step=1,
277
  label="Max new tokens"
278
  ),