Spaces:
Runtime error
Runtime error
upd
Browse files
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}")
|