Upload folder using huggingface_hub
Browse files- .idea/.gitignore +3 -0
- .idea/VideoGEN.iml +8 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +7 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- .idea/workspace.xml +46 -0
- __pycache__/app.cpython-310.pyc +0 -0
- app.py +2 -2
.idea/.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
.idea/VideoGEN.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>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<settings>
|
3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
+
<version value="1.0" />
|
5 |
+
</settings>
|
6 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="Black">
|
4 |
+
<option name="sdkName" value="Python 3.11" />
|
5 |
+
</component>
|
6 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11" project-jdk-type="Python SDK" />
|
7 |
+
</project>
|
.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/VideoGEN.iml" filepath="$PROJECT_DIR$/.idea/VideoGEN.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
.idea/workspace.xml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="AutoImportSettings">
|
4 |
+
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
+
</component>
|
6 |
+
<component name="ChangeListManager">
|
7 |
+
<list default="true" id="2c6537f6-5402-449f-8831-3d3b34c98bec" name="Changes" comment="" />
|
8 |
+
<option name="SHOW_DIALOG" value="false" />
|
9 |
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10 |
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
11 |
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12 |
+
</component>
|
13 |
+
<component name="Git.Settings">
|
14 |
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
15 |
+
</component>
|
16 |
+
<component name="MarkdownSettingsMigration">
|
17 |
+
<option name="stateVersion" value="1" />
|
18 |
+
</component>
|
19 |
+
<component name="ProjectColorInfo"><![CDATA[{
|
20 |
+
"associatedIndex": 8
|
21 |
+
}]]></component>
|
22 |
+
<component name="ProjectId" id="2YNtR4Y3dD55oWPfoQJ9HPxwCjM" />
|
23 |
+
<component name="ProjectViewState">
|
24 |
+
<option name="hideEmptyMiddlePackages" value="true" />
|
25 |
+
<option name="showLibraryContents" value="true" />
|
26 |
+
</component>
|
27 |
+
<component name="PropertiesComponent"><![CDATA[{
|
28 |
+
"keyToString": {
|
29 |
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
30 |
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
31 |
+
"git-widget-placeholder": "main",
|
32 |
+
"last_opened_file_path": "C:/Users/aiada/VideoGEN"
|
33 |
+
}
|
34 |
+
}]]></component>
|
35 |
+
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
36 |
+
<component name="TaskManager">
|
37 |
+
<task active="true" id="Default" summary="Default task">
|
38 |
+
<changelist id="2c6537f6-5402-449f-8831-3d3b34c98bec" name="Changes" comment="" />
|
39 |
+
<created>1700377853888</created>
|
40 |
+
<option name="number" value="Default" />
|
41 |
+
<option name="presentableId" value="Default" />
|
42 |
+
<updated>1700377853888</updated>
|
43 |
+
</task>
|
44 |
+
<servers />
|
45 |
+
</component>
|
46 |
+
</project>
|
__pycache__/app.cpython-310.pyc
CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
app.py
CHANGED
@@ -30,5 +30,5 @@ def generate_video(prompt):
|
|
30 |
return video_path
|
31 |
|
32 |
|
33 |
-
|
34 |
-
|
|
|
30 |
return video_path
|
31 |
|
32 |
|
33 |
+
demo = gr.Interface(fn=generate_video, inputs="text", outputs="file")
|
34 |
+
demo.launch(share=True)
|