Spaces:
Runtime error
Runtime error
Taejun Kim
commited on
Commit
·
27b1390
1
Parent(s):
44c4234
Initial commit
Browse files- README.md +1 -0
- app.py +7 -0
- pre-requirements.txt +3 -0
- requirements.txt +4 -0
README.md
CHANGED
|
@@ -4,6 +4,7 @@ emoji: 📊
|
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
|
|
|
| 7 |
sdk_version: 3.42.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
python_version: 3.10
|
| 8 |
sdk_version: 3.42.0
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
app.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def greet(name):
|
| 4 |
+
return "Hello " + name + "!!"
|
| 5 |
+
|
| 6 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
+
iface.launch()
|
pre-requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 2 |
+
torch
|
| 3 |
+
torchaudio
|
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
natten -f https://shi-labs.com/natten/wheels/cpu/torch2.0.0/index.html
|
| 2 |
+
madmom @ git+https://github.com/CPJKU/madmom
|
| 3 |
+
allin1
|
| 4 |
+
gradio
|