decodemai commited on
Commit
efb044f
·
1 Parent(s): e20e73c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -61,6 +61,7 @@ def infer(prompt,
61
  return response
62
 
63
  def getdevilsadvocate(text_inp):
 
64
 
65
  text = prompt+"\nInput:"+text_inp + "\nOutput:"
66
  resp = infer(text,seed=random.randint(0,100))
@@ -71,6 +72,7 @@ def getdevilsadvocate(text_inp):
71
  parts = result.split("###")
72
  topic = parts[0].strip()
73
  topic="\n".join(topic.split('\n')[:3])
 
74
  return(topic)
75
 
76
 
 
61
  return response
62
 
63
  def getdevilsadvocate(text_inp):
64
+ print(text_inp)
65
 
66
  text = prompt+"\nInput:"+text_inp + "\nOutput:"
67
  resp = infer(text,seed=random.randint(0,100))
 
72
  parts = result.split("###")
73
  topic = parts[0].strip()
74
  topic="\n".join(topic.split('\n')[:3])
75
+ print(topic)
76
  return(topic)
77
 
78