File size: 697 Bytes
9f555b2
f549a7a
9f555b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Example</title>
</head>
<body>
	<div style="text-align: center;">
		<iframe id="myIframe"
			frameborder="0"
			style="width: 100%; max-width: 850px; height: 2000px;"
		></iframe>
	</div>
	<script>
		// Fetch the content of Read.txt from the Hugging Face repository
		fetch('Read.txt')
		.then(response => response.text())
		.then(data => {
			// Fetch the content of the linked file from GitHub repository
			return fetch(data.trim());
		})
		.then(response => response.text())
		.then(data => {
			const myIframe = document.getElementById('myIframe');
			myIframe.src = data.trim();
		})
		.catch(error => console.error(error));
	</script>
</body>
</html>