NEXAS commited on
Commit
4a743db
·
verified ·
1 Parent(s): af27942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def add_background_image(image_path):
30
  st.markdown(css, unsafe_allow_html=True)
31
 
32
  # Call the function with your image path
33
- add_background_image("bg.png")
34
 
35
  def display_images(image_collection, query_text, max_distance=None, debug=False):
36
  """
@@ -203,6 +203,7 @@ def format_prompt_inputs(image_collection, text_collection, video_collection, us
203
  import time # To simulate delays during processing
204
 
205
  def page_1():
 
206
  #st.set_page_config(layout='wide', page_title="Virtual Tutor")
207
  st.markdown("""
208
  <svg width="600" height="100">
@@ -239,7 +240,7 @@ def page_1():
239
  st.error(f"Error processing PDF: {e}")
240
 
241
  def page_2():
242
-
243
  st.markdown("""
244
  <svg width="600" height="100">
245
  <text x="50%" y="50%" font-family="San serif" font-size="42px" fill="Black" text-anchor="middle" stroke="white"
 
30
  st.markdown(css, unsafe_allow_html=True)
31
 
32
  # Call the function with your image path
33
+
34
 
35
  def display_images(image_collection, query_text, max_distance=None, debug=False):
36
  """
 
203
  import time # To simulate delays during processing
204
 
205
  def page_1():
206
+ add_background_image("bg.png")
207
  #st.set_page_config(layout='wide', page_title="Virtual Tutor")
208
  st.markdown("""
209
  <svg width="600" height="100">
 
240
  st.error(f"Error processing PDF: {e}")
241
 
242
  def page_2():
243
+ add_background_image("bg2.png")
244
  st.markdown("""
245
  <svg width="600" height="100">
246
  <text x="50%" y="50%" font-family="San serif" font-size="42px" fill="Black" text-anchor="middle" stroke="white"