eaglelandsonce commited on
Commit
34ddbbd
1 Parent(s): f598d77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -15
app.py CHANGED
@@ -126,21 +126,7 @@ def main():
126
  fig = draw_grid(data)
127
  st.pyplot(fig)
128
 
129
- while running:
130
- # Handle events
131
- for event in pygame.event.get():
132
- if event.type == pygame.QUIT:
133
- running = False
134
- # Update game state here
135
- # Render game state to screen
136
- print("hellow") # Fill the screen with black
137
-
138
- # Cap the frame rate to 60 frames per second
139
- clock.tick(1)
140
- # Quit Pygame
141
- pygame.quit()
142
- sys.exit()
143
-
144
  with col3:
145
  st.header("Check Your HIN Number")
146
  config = Config(height=400, width=400, nodeHighlightBehavior=True, highlightColor="#F7A7A6", directed=True,
@@ -166,5 +152,22 @@ def main():
166
  if hin_number:
167
  st.write("HIN number details...") # Placeholder for actual HIN number check
168
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  if __name__ == "__main__":
170
  main()
 
126
  fig = draw_grid(data)
127
  st.pyplot(fig)
128
 
129
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  with col3:
131
  st.header("Check Your HIN Number")
132
  config = Config(height=400, width=400, nodeHighlightBehavior=True, highlightColor="#F7A7A6", directed=True,
 
152
  if hin_number:
153
  st.write("HIN number details...") # Placeholder for actual HIN number check
154
 
155
+
156
+ while running:
157
+ # Handle events
158
+ for event in pygame.event.get():
159
+ if event.type == pygame.QUIT:
160
+ running = False
161
+ # Update game state here
162
+ # Render game state to screen
163
+ print("hellow") # Fill the screen with black
164
+
165
+ # Cap the frame rate to 60 frames per second
166
+ clock.tick(1)
167
+ # Quit Pygame
168
+ pygame.quit()
169
+ sys.exit()
170
+
171
+
172
  if __name__ == "__main__":
173
  main()