File size: 383 Bytes
99d7a6c
 
 
 
 
 
 
 
 
4badeb6
 
 
 
 
 
 
99d7a6c
f170174
99d7a6c
4badeb6
99d7a6c
f5e1f82
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
import gradio as gr
import numpy as np
import random
import torch
import subprocess
import time
import requests
import json
import socket

hostname = socket.gethostname()

IPAddr=socket.gethostbyname(hostname)
print("Your Computer Name is:"+hostname)
print("Your Computer IP Address is:"+IPAddr)

url = "http://146.152.226.51:443"



resp2 = requests.get(url)

print(resp2)