shukdevdatta123 commited on
Commit
562616c
·
verified ·
1 Parent(s): c8a2998

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -307,11 +307,17 @@ def create_gradio_app():
307
  </div>
308
  """)
309
 
310
- gr.HTML("""
 
 
 
 
 
 
311
  <div>
312
- <img src="NeuroScope-AI/ChatGPT Image May 30, 2025, 07_20_10 PM.png" alt="NeuroScope-AI" width="200" height="200">
313
  </div>
314
- """)
315
 
316
  # NeuroScope AI Section
317
  with gr.Group():
 
307
  </div>
308
  """)
309
 
310
+ import base64
311
+
312
+ # Convert image to base64
313
+ with open("ChatGPT Image May 30, 2025, 07_20_10 PM.png", "rb") as image_file:
314
+ encoded_string = base64.b64encode(image_file.read()).decode()
315
+
316
+ html_content = f"""
317
  <div>
318
+ <img src="data:image/png;base64,{encoded_string}" alt="NeuroScope-AI" width="200" height="200">
319
  </div>
320
+ """
321
 
322
  # NeuroScope AI Section
323
  with gr.Group():