shamik
commited on
Commit
·
c6d67a0
1
Parent(s):
3d7f161
updated app.py.
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ client = InferenceClient(
|
|
| 7 |
|
| 8 |
punctuation_marks = [".", "!", "?"]
|
| 9 |
def generate(
|
| 10 |
-
prompt, temperature=0.2, max_new_tokens=256, top_p=0.8, repetition_penalty=1.0,
|
| 11 |
):
|
| 12 |
temperature = float(temperature)
|
| 13 |
if temperature < 1e-2:
|
|
|
|
| 7 |
|
| 8 |
punctuation_marks = [".", "!", "?"]
|
| 9 |
def generate(
|
| 10 |
+
prompt, _, temperature=0.2, max_new_tokens=256, top_p=0.8, repetition_penalty=1.0,
|
| 11 |
):
|
| 12 |
temperature = float(temperature)
|
| 13 |
if temperature < 1e-2:
|
creds.env
DELETED
|
File without changes
|