Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
client = InferenceClient("https://7896-24-125-188-125.ngrok-free.app/v1/chat/completions")
|
4 |
|
5 |
-
FIXED_MAX_TOKENS =
|
6 |
-
FIXED_TEMPERATURE =
|
7 |
FIXED_TOP_P = 0.95
|
8 |
|
9 |
def respond(message, history):
|
|
|
2 |
from huggingface_hub import InferenceClient
|
3 |
client = InferenceClient("https://7896-24-125-188-125.ngrok-free.app/v1/chat/completions")
|
4 |
|
5 |
+
FIXED_MAX_TOKENS = 1024
|
6 |
+
FIXED_TEMPERATURE = 1
|
7 |
FIXED_TOP_P = 0.95
|
8 |
|
9 |
def respond(message, history):
|