Update app.py
Browse files
app.py
CHANGED
@@ -37,12 +37,7 @@ client = Client(
|
|
37 |
API_URL,
|
38 |
headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
39 |
)
|
40 |
-
|
41 |
-
API_URL_BASE, headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
42 |
-
)
|
43 |
-
client_plus = Client(
|
44 |
-
API_URL_PLUS, headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
45 |
-
)
|
46 |
|
47 |
def generate(
|
48 |
prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
|
|
37 |
API_URL,
|
38 |
headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
39 |
)
|
40 |
+
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
def generate(
|
43 |
prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|