David Kagramanyan commited on
Commit
b5c0fa0
·
1 Parent(s): ab3255f
Files changed (3) hide show
  1. .idea/modules.xml +8 -0
  2. .idea/nbc_coach_public.iml +8 -0
  3. app.py +9 -0
.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/nbc_coach_public.iml" filepath="$PROJECT_DIR$/.idea/nbc_coach_public.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
.idea/nbc_coach_public.iml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+
4
+ name = os.getenv("space_name")
5
+ api_key = os.getenv("api_key")
6
+
7
+ space = gr.load(name=name, src='spaces', api_key=api_key)
8
+
9
+ space.launch()