shamik commited on
Commit
c6d67a0
β€’
1 Parent(s): 3d7f161

updated app.py.

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. creds.env +0 -0
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