Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -307,11 +307,17 @@ def create_gradio_app():
|
|
307 |
</div>
|
308 |
""")
|
309 |
|
310 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
<div>
|
312 |
-
<img src="
|
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():
|