Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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=
|
275 |
-
value=
|
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 |
),
|