Spaces:
Sleeping
Sleeping
Update app.py
Browse files- Fix Token issues
app.py
CHANGED
@@ -57,11 +57,11 @@ def respond(message, history, token, model, system_message, max_tokens, temperat
|
|
57 |
# Input components
|
58 |
token_input = gr.Textbox(
|
59 |
type="password",
|
60 |
-
label="HF API Token
|
61 |
placeholder="hf_XXXXXXXXXXXX"
|
62 |
)
|
63 |
model_input = gr.Textbox(
|
64 |
-
label="Model Name (required
|
65 |
placeholder="Enter model name when using token",
|
66 |
visible=True
|
67 |
)
|
|
|
57 |
# Input components
|
58 |
token_input = gr.Textbox(
|
59 |
type="password",
|
60 |
+
label="HF API Token",
|
61 |
placeholder="hf_XXXXXXXXXXXX"
|
62 |
)
|
63 |
model_input = gr.Textbox(
|
64 |
+
label="Model Name (required with HF token)",
|
65 |
placeholder="Enter model name when using token",
|
66 |
visible=True
|
67 |
)
|