yuanjie commited on
Commit
0284629
1 Parent(s): a4a618c
Files changed (2) hide show
  1. .gitignore +77 -0
  2. app.py +18 -0
.gitignore ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Created by .ignore support plugin (hsz.mobi)
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ build/
8
+ develop-eggs/
9
+ dist/
10
+ downloads/
11
+ eggs/
12
+ .eggs/
13
+ lib/
14
+ lib64/
15
+ parts/
16
+ sdist/
17
+ var/
18
+ wheels/
19
+ pip-wheel-metadata/
20
+ share/python-wheels/
21
+ *.egg-info/
22
+ .installed.cfg
23
+ *.egg
24
+ MANIFEST
25
+ *.manifest
26
+ *.spec
27
+ pip-log.txt
28
+ pip-delete-this-directory.txt
29
+ htmlcov/
30
+ .tox/
31
+ .nox/
32
+ .coverage
33
+ .coverage.*
34
+ .cache
35
+ nosetests.xml
36
+ coverage.xml
37
+ *.cover
38
+ *.py,cover
39
+ .hypothesis/
40
+ .pytest_cache/
41
+ cover/
42
+ *.mo
43
+ *.pot
44
+ *.log
45
+ local_settings.py
46
+ db.sqlite3
47
+ db.sqlite3-journal
48
+ instance/
49
+ .webassets-cache
50
+ .scrapy
51
+ docs/_build/
52
+ .pybuilder/
53
+ target/
54
+ .ipynb_checkpoints
55
+ profile_default/
56
+ ipython_config.py
57
+ __pypackages__/
58
+ celerybeat-schedule
59
+ celerybeat.pid
60
+ *.sage.py
61
+ .env
62
+ .venv
63
+ env/
64
+ venv/
65
+ ENV/
66
+ env.bak/
67
+ venv.bak/
68
+ .spyderproject
69
+ .spyproject
70
+ .ropeproject
71
+ /site
72
+ .mypy_cache/
73
+ .dmypy.json
74
+ dmypy.json
75
+ .pyre/
76
+ .pytype/
77
+ cython_debug/
app.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # @Project : megradio.
4
+ # @File : app
5
+ # @Time : 2022/9/23 上午11:11
6
+ # @Author : yuanjie
7
+ # @WeChat : meutils
8
+ # @Software : PyCharm
9
+ # @Description :
10
+
11
+
12
+ import gradio as gr
13
+
14
+ def greet(name):
15
+ return "Hello " + name + "!!"
16
+
17
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
18
+ iface.launch()