Spaces:
Build error
Build error
liquidaudit
commited on
Commit
·
9edcc4f
1
Parent(s):
26789db
removed share=True
Browse files- .idea/.gitignore +1 -0
- .idea/WeatherVision.iml +9 -1
- .idea/misc.xml +1 -1
- app.py +3 -1
.idea/.gitignore
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
# Default ignored files
|
| 2 |
/shelf/
|
| 3 |
/workspace.xml
|
|
|
|
|
|
| 1 |
# Default ignored files
|
| 2 |
/shelf/
|
| 3 |
/workspace.xml
|
| 4 |
+
/misc.xml
|
.idea/WeatherVision.iml
CHANGED
|
@@ -1,9 +1,17 @@
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<module type="JAVA_MODULE" version="4">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
| 4 |
<exclude-output />
|
| 5 |
-
<content url="file://$MODULE_DIR$"
|
|
|
|
|
|
|
| 6 |
<orderEntry type="inheritedJdk" />
|
| 7 |
<orderEntry type="sourceFolder" forTests="false" />
|
|
|
|
| 8 |
</component>
|
| 9 |
</module>
|
|
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<module type="JAVA_MODULE" version="4">
|
| 3 |
+
<component name="FacetManager">
|
| 4 |
+
<facet type="Python" name="Python">
|
| 5 |
+
<configuration sdkName="Python 3.6 (2)" />
|
| 6 |
+
</facet>
|
| 7 |
+
</component>
|
| 8 |
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
| 9 |
<exclude-output />
|
| 10 |
+
<content url="file://$MODULE_DIR$">
|
| 11 |
+
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
| 12 |
+
</content>
|
| 13 |
<orderEntry type="inheritedJdk" />
|
| 14 |
<orderEntry type="sourceFolder" forTests="false" />
|
| 15 |
+
<orderEntry type="library" name="Python 3.6 (2) interpreter library" level="application" />
|
| 16 |
</component>
|
| 17 |
</module>
|
.idea/misc.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<project version="4">
|
| 3 |
-
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="
|
| 4 |
<output url="file://$PROJECT_DIR$/out" />
|
| 5 |
</component>
|
| 6 |
</project>
|
|
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<project version="4">
|
| 3 |
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="Python 3.6 (virtualEnvs)" project-jdk-type="Python SDK">
|
| 4 |
<output url="file://$PROJECT_DIR$/out" />
|
| 5 |
</component>
|
| 6 |
</project>
|
app.py
CHANGED
|
@@ -15,4 +15,6 @@ examples = [['./lightning.jpeg'],['./rain.jpeg'],['./snow.jpeg']]
|
|
| 15 |
interpretation='default'
|
| 16 |
enable_queue=True
|
| 17 |
|
| 18 |
-
gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=11),title=title,description=description,examples=examples,interpretation=interpretation).launch(
|
|
|
|
|
|
|
|
|
| 15 |
interpretation='default'
|
| 16 |
enable_queue=True
|
| 17 |
|
| 18 |
+
gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=11),title=title,description=description,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue)
|
| 19 |
+
|
| 20 |
+
|