Spaces:
Runtime error
Runtime error
yael-vinker commited on
Commit ·
cdd07c8
1
Parent(s): 3c149ed
.ipynb_checkpoints/app-checkpoint.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import gradio as gr
|
| 3 |
+
|
| 4 |
+
def greet(name):
|
| 5 |
+
return "hello" + name
|
| 6 |
+
|
| 7 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 8 |
+
iface.launch()
|
.ipynb_checkpoints/requirements-checkpoint.txt
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ftfy==6.0.3
|
| 2 |
+
cssutils==2.3.0
|
| 3 |
+
gdown==4.4.0
|
| 4 |
+
imageio==2.9.0
|
| 5 |
+
imageio-ffmpeg==0.4.4
|
| 6 |
+
importlib-metadata==4.6.4
|
| 7 |
+
ipykernel==6.1.0
|
| 8 |
+
ipython==7.26.0
|
| 9 |
+
ipython-genutils==0.2.0
|
| 10 |
+
json5==0.9.5
|
| 11 |
+
jsonpatch==1.32
|
| 12 |
+
jsonpointer==2.1
|
| 13 |
+
jsonschema==3.2.0
|
| 14 |
+
jupyter-client==6.1.12
|
| 15 |
+
jupyter-core==4.7.1
|
| 16 |
+
jupyter-server==1.10.2
|
| 17 |
+
jupyterlab==3.1.6
|
| 18 |
+
jupyterlab-pygments==0.1.2
|
| 19 |
+
jupyterlab-server==2.7.0
|
| 20 |
+
matplotlib==3.4.2
|
| 21 |
+
matplotlib-inline==0.1.2
|
| 22 |
+
moviepy==1.0.3
|
| 23 |
+
notebook==6.4.3
|
| 24 |
+
numba==0.53.1
|
| 25 |
+
numpy==1.20.3
|
| 26 |
+
nvidia-ml-py3==7.352.0
|
| 27 |
+
opencv-python==4.5.3.56
|
| 28 |
+
pandas==1.3.2
|
| 29 |
+
pathtools==0.1.2
|
| 30 |
+
Pillow==8.2.0
|
| 31 |
+
pip==21.2.2
|
| 32 |
+
plotly==5.2.1
|
| 33 |
+
psutil==5.8.0
|
| 34 |
+
ptyprocess==0.7.0
|
| 35 |
+
pyaml==21.8.3
|
| 36 |
+
regex==2021.11.10
|
| 37 |
+
scikit-image==0.18.1
|
| 38 |
+
scikit-learn==1.0.2
|
| 39 |
+
scipy==1.6.2
|
| 40 |
+
seaborn==0.11.2
|
| 41 |
+
subprocess32==3.5.4
|
| 42 |
+
svgpathtools==1.4.1
|
| 43 |
+
svgwrite==1.4.1
|
| 44 |
+
torch==1.7.1
|
| 45 |
+
torch-tools==0.1.5
|
| 46 |
+
torchfile==0.1.0
|
| 47 |
+
torchvision==0.8.2
|
| 48 |
+
tqdm==4.62.1
|
| 49 |
+
visdom==0.1.8.9
|
| 50 |
+
wandb==0.12.0
|
| 51 |
+
webencodings==0.5.1
|
| 52 |
+
websocket-client==0.57.0
|
| 53 |
+
zipp==3.5.0
|
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def greet(name):
|
| 4 |
-
return "
|
| 5 |
|
| 6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
-
iface.launch()
|
|
|
|
| 1 |
+
import torch
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
def greet(name):
|
| 5 |
+
return "hello" + name
|
| 6 |
|
| 7 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 8 |
+
iface.launch()
|