test / app.py
qgao007's picture
Update app.py
bde9294
raw
history blame
454 Bytes
import os
import gradio as gr
import numpy as np
import random
import torch
import subprocess
import time
import requests
import json
import socket
import subprocess
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"
subprocess.run(["curl", "ipinfo.io"])
# resp2 = requests.get(url)
# print(resp2)
# one more