Yordann commited on
Commit
833548d
·
verified ·
1 Parent(s): 7de3756

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -98,16 +98,6 @@ def generate_response(user_input, top_p, temperature, chat_counter, chatbot, his
98
  def reset_textbox():
99
  return gr.update(value='')
100
 
101
- # Convert logo to base64
102
- def get_logo_base64():
103
- try:
104
- with open("/home/ubuntu/new_logo.png", "rb") as img_file:
105
- return base64.b64encode(img_file.read()).decode()
106
- except:
107
- return ""
108
-
109
- logo_base64 = get_logo_base64()
110
-
111
  # ==== Enhanced Custom CSS with Masterbrand Styling ====
112
  custom_css = f"""
113
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
 
98
  def reset_textbox():
99
  return gr.update(value='')
100
 
 
 
 
 
 
 
 
 
 
 
101
  # ==== Enhanced Custom CSS with Masterbrand Styling ====
102
  custom_css = f"""
103
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');