ysharma HF staff commited on
Commit
94473bd
·
1 Parent(s): 6aca058
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -90,6 +90,7 @@ def text_generate(prompt, generated_txt): #, input_prompt_sql ): #, input_prompt
90
  print(f"display_output for printing on screen is : {display_output}")
91
  if len(new_prompt) == 0:
92
  temp_text = display_output[::-1]
 
93
  if temp_text[0] == '.':
94
  first_period_loc = temp_text[1:].find('.')
95
  print(f"Location of last Period is: {first_period_loc}")
 
90
  print(f"display_output for printing on screen is : {display_output}")
91
  if len(new_prompt) == 0:
92
  temp_text = display_output[::-1]
93
+ print(f"What is the last character of sentence? : {temp_text[0]}")
94
  if temp_text[0] == '.':
95
  first_period_loc = temp_text[1:].find('.')
96
  print(f"Location of last Period is: {first_period_loc}")