ghosthamlet commited on
Commit
13cb41d
·
1 Parent(s): 282bf30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ def text_generate(prompt, generated_txt, top_p=0.8, top_k=100, temperature=1.0,
27
  {"use_cache": True,
28
  "wait_for_model": True,
29
  },}
 
30
  response = requests.post(API_URL, headers=headers, json=json_)
31
  print(f"Response is : {response}")
32
  output = response.json()
 
27
  {"use_cache": True,
28
  "wait_for_model": True,
29
  },}
30
+ print(f"Gen params is: {json_}")
31
  response = requests.post(API_URL, headers=headers, json=json_)
32
  print(f"Response is : {response}")
33
  output = response.json()