Spaces:
Sleeping
Sleeping
Hritik
commited on
Commit
•
b3402e9
1
Parent(s):
69008d9
add requirements and app
Browse files- app.py +7 -0
- requirements.txt +20 -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,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
transformers==4.28.1
|
2 |
+
einops
|
3 |
+
icecream
|
4 |
+
flask
|
5 |
+
ruamel.yaml
|
6 |
+
uvicorn
|
7 |
+
fastapi
|
8 |
+
markdown2
|
9 |
+
gradio
|
10 |
+
sconf
|
11 |
+
tensorboardX
|
12 |
+
tensorboard
|
13 |
+
h5py
|
14 |
+
sentencepiece
|
15 |
+
peft
|
16 |
+
opencv-python
|
17 |
+
decord
|
18 |
+
chardet
|
19 |
+
cchardet
|
20 |
+
gradio==3.20.1
|