Vishwas1 commited on
Commit
fc74a1d
1 Parent(s): b0717d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def text_generate(prompt):
24
  print(response.json())
25
  if response.status_code == 200:
26
  data_str=response.json()
27
- slack_msg="Supplied Prompt was :"+data["context"]+"\n\n"
28
  slack_msg = slack_msg+"Response receievd was : \n\n"
29
  '''
30
  for i in range(4):
 
24
  print(response.json())
25
  if response.status_code == 200:
26
  data_str=response.json()
27
+ slack_msg="Supplied Prompt was :"+data["inputs"]+"\n\n"
28
  slack_msg = slack_msg+"Response receievd was : \n\n"
29
  '''
30
  for i in range(4):