@@ -958,7 +958,7 @@ def generate_report(self,) :
958
958
def chat_with_ai (self ,) :
959
959
self .clearScreen ()
960
960
961
- self .ai_box = CTk .CTkScrollableFrame (self .app , 400 , 300 , 0 , 0 , self .app_text_box_color , self .app_text_box_color )
961
+ self .ai_box = CTk .CTkFrame (self .app , 400 , 300 , 0 , 0 , self .app_text_box_color , self .app_text_box_color )
962
962
self .ai_box .place (x = 100 , y = 150 )
963
963
## Deleting ai_box requires for basically everything else to be deleted
964
964
@@ -1022,13 +1022,13 @@ def sendMessage(self) :
1022
1022
user_message = CTk .CTkLabel (self .ai_box , bg_color = self .bg_color_light , fg_color = self .bg_color_light , text = user_input , font = self .text_font )
1023
1023
user_message .place (x = 15 , y = self .current_y_ai )
1024
1024
self .all_screen_obj .append (user_message )
1025
- self .current_y_ai += int (len (user_input )/ 2 ) + 10
1025
+ self .current_y_ai += int (len (user_input )/ 2 ) + 35
1026
1026
1027
1027
ai_response = self .sendOPENAIMessage (user_input )
1028
1028
print (ai_response )
1029
1029
ai_message = CTk .CTkLabel (self .ai_box , bg_color = self .bg_color_light , fg_color = self .bg_color_light , text = ai_response , font = self .text_font )
1030
1030
ai_message .place (x = 15 , y = self .current_y_ai )
1031
- self .current_y_ai += int (len (ai_response )/ 2 ) + 10
1031
+ self .current_y_ai += int (len (ai_response )/ 2 ) + 35
1032
1032
1033
1033
1034
1034
0 commit comments