File size: 715 Bytes
f3dfbd4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
    <title>CRE Knowledge Assistant</title>
    <style>
        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: hidden;
        }
        iframe {
            width: 100%;
            height: 100vh;
            border: none;
        }
    </style>
</head>
<body>
    <iframe src="/api" allow="camera;microphone"></iframe>
    <script>
        window.addEventListener('message', function(e) {
            // Handle any messages from the Streamlit app
            if (e.data.type === 'streamlit') {
                console.log('Received message from Streamlit:', e.data);
            }
        });
    </script>
</body>
</html>