Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -297,7 +297,7 @@ def create_gradio_app():
|
|
297 |
}
|
298 |
"""
|
299 |
|
300 |
-
with gr.Blocks(css=css, title="π€ Creative Agentic AI Chat", theme=gr.themes.
|
301 |
|
302 |
# Header
|
303 |
gr.HTML("""
|
@@ -307,18 +307,6 @@ def create_gradio_app():
|
|
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():
|
324 |
with gr.Accordion("π€ NeuroScope AI", open=False, elem_id="neuroscope-accordion"):
|
|
|
297 |
}
|
298 |
"""
|
299 |
|
300 |
+
with gr.Blocks(css=css, title="π€ Creative Agentic AI Chat", theme=gr.themes.Monochrome()) as app:
|
301 |
|
302 |
# Header
|
303 |
gr.HTML("""
|
|
|
307 |
</div>
|
308 |
""")
|
309 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
# NeuroScope AI Section
|
311 |
with gr.Group():
|
312 |
with gr.Accordion("π€ NeuroScope AI", open=False, elem_id="neuroscope-accordion"):
|