begumbb's picture
Upload 8 files
b3707ac verified
Raw
History Blame Contribute Delete
434 Bytes
import gradio as gr
import numpy as np
import matplotlib.pyplot as plt
def cognitive_load_dashboard():
# Burada basit bir görsel döndüreceğiz (gerçek EEG akışı için backend entegrasyonu gerekir)
fig, ax = plt.subplots()
ax.plot(np.random.randn(100))
ax.set_title("Real-Time Cognitive Load Simulation")
return fig
demo = gr.Interface(fn=cognitive_load_dashboard, inputs=[], outputs="plot")
demo.launch()