Spaces:
Configuration error
Configuration error
segments-arnaud
commited on
Commit
•
2a3b1c1
1
Parent(s):
35e29d3
First commit
Browse files- app.py +7 -0
- requirements.txt +8 -0
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()
|
requirements.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
numpy==1.19.4
|
2 |
+
torch==1.13.0
|
3 |
+
torchvision
|
4 |
+
opencv-python
|
5 |
+
git+https://github.com/facebookresearch/segment-anything.git
|
6 |
+
pycocotools
|
7 |
+
onnxruntime
|
8 |
+
onnx
|