srijaydeshpande commited on
Commit
29feaee
·
verified ·
1 Parent(s): 7a3b3f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -47,9 +47,6 @@ def get_itinerary(information, maxtokens=1000, temperature=0.9, top_probability=
47
  temperature=temperature
48
  )
49
  output = output['choices'][0]['message']['content']
50
- find_index = output.find(' '.join(pdftext.split()[:3]))
51
- if find_index != -1:
52
- output = output[find_index:].strip()
53
  return output
54
 
55
 
 
47
  temperature=temperature
48
  )
49
  output = output['choices'][0]['message']['content']
 
 
 
50
  return output
51
 
52