vincentmin commited on
Commit
664e458
1 Parent(s): aedbcbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -25,6 +25,7 @@ def run_model(prompt, temperature, top_p):
25
  "do_sample": True,
26
  "temperature": temperature,
27
  "top_p": top_p
 
28
  }
29
  response = requests.post(API_URL, headers=HEADERS, json=payload)
30
  return response.json()[0]['generated_text']
 
25
  "do_sample": True,
26
  "temperature": temperature,
27
  "top_p": top_p
28
+ }
29
  }
30
  response = requests.post(API_URL, headers=HEADERS, json=payload)
31
  return response.json()[0]['generated_text']