Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import gradio as gr
|
3 |
+
import numpy as np
|
4 |
+
import random
|
5 |
+
import torch
|
6 |
+
import subprocess
|
7 |
+
import time
|
8 |
+
import requests
|
9 |
+
import json
|
10 |
+
|
11 |
+
url = "https://http://146.152.226.51/"
|
12 |
+
|
13 |
+
resp = requests.post(url, data=json.dumps(data))
|
14 |
+
|