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 = "https://http://146.152.226.51/" | |
resp = requests.post(url) | |
print(resp) | |