root commited on
Commit
dcc0284
1 Parent(s): 06c264e

Creating app.py

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. app.py +11 -0
  3. requirements.txt +64 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ env/
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio
2
+
3
+ def my_inference_function(name):
4
+ return "Hello " + name + "!"
5
+
6
+ gradio_interface = gradio.Interface(
7
+ fn = my_inference_function,
8
+ inputs = "text",
9
+ outputs = "text"
10
+ )
11
+ gradio_interface.launch()
requirements.txt ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ aiofiles==23.1.0
2
+ aiohttp==3.8.4
3
+ aiosignal==1.3.1
4
+ altair==5.0.1
5
+ anyio==3.7.0
6
+ async-timeout==4.0.2
7
+ attrs==23.1.0
8
+ certifi==2023.5.7
9
+ charset-normalizer==3.1.0
10
+ click==8.1.3
11
+ contourpy==1.1.0
12
+ cycler==0.11.0
13
+ exceptiongroup==1.1.1
14
+ fastapi==0.98.0
15
+ ffmpy==0.3.0
16
+ filelock==3.12.2
17
+ fonttools==4.40.0
18
+ frozenlist==1.3.3
19
+ fsspec==2023.6.0
20
+ gradio==3.35.2
21
+ gradio_client==0.2.7
22
+ h11==0.14.0
23
+ httpcore==0.17.2
24
+ httpx==0.24.1
25
+ huggingface-hub==0.15.1
26
+ idna==3.4
27
+ Jinja2==3.1.2
28
+ jsonschema==4.17.3
29
+ kiwisolver==1.4.4
30
+ linkify-it-py==2.0.2
31
+ markdown-it-py==2.2.0
32
+ MarkupSafe==2.1.3
33
+ matplotlib==3.7.1
34
+ mdit-py-plugins==0.3.3
35
+ mdurl==0.1.2
36
+ multidict==6.0.4
37
+ numpy==1.25.0
38
+ orjson==3.9.1
39
+ packaging==23.1
40
+ pandas==2.0.2
41
+ Pillow==9.5.0
42
+ pydantic==1.10.9
43
+ pydub==0.25.1
44
+ Pygments==2.15.1
45
+ pyparsing==3.1.0
46
+ pyrsistent==0.19.3
47
+ python-dateutil==2.8.2
48
+ python-multipart==0.0.6
49
+ pytz==2023.3
50
+ PyYAML==6.0
51
+ requests==2.31.0
52
+ semantic-version==2.10.0
53
+ six==1.16.0
54
+ sniffio==1.3.0
55
+ starlette==0.27.0
56
+ toolz==0.12.0
57
+ tqdm==4.65.0
58
+ typing_extensions==4.6.3
59
+ tzdata==2023.3
60
+ uc-micro-py==1.0.2
61
+ urllib3==2.0.3
62
+ uvicorn==0.22.0
63
+ websockets==11.0.3
64
+ yarl==1.9.2