Spaces:
Runtime error
Runtime error
test with tab
Browse filesFiles changed (15)
- .idea/.gitignoreAdded+8
- .idea/TalkingFaceGeneration.imlAdded+8
- .idea/deployment.xmlAdded+14
- .idea/inspectionProfiles/profiles_settings.xmlAdded+6
- .idea/modules.xmlAdded+8
- .idea/vcs.xmlAdded+6
- app.py+16-3
- example/audios/6343252661930009508_00092.wavAdded
- example/audios/6347195441777342774_00160.wavAdded
- example/audios/6350295549171504559_00004.wavAdded
- example/audios/6350921755403330389_00056.wavAdded
- example/images/ABOUT_00514.jpgAdded
- example/images/ABOUT_00994.jpgAdded
- example/images/ABOUT_test_00001.jpgAdded
- example/images/ABOUT_train_00001.jpgAdded
12345678# Default ignored files/shelf//workspace.xml# Editor-based HTTP Client requests/httpRequests/# Datasource local storage ignored files/dataSources//dataSources.local.xml12345678<?xml version="1.0" encoding="UTF-8"?><module type="PYTHON_MODULE" version="4"> <component name="NewModuleRootManager"> <content url="file://$MODULE_DIR$" /> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> </component></module>1234567891011121314<?xml version="1.0" encoding="UTF-8"?><project version="4"> <component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false"> <serverData> <paths name="10.26.128.77"> <serverdata> <mappings> <mapping local="$PROJECT_DIR$" web="/" /> </mappings> </serverdata> </paths> </serverData> </component></project>123456<component name="InspectionProjectProfileManager"> <settings> <option name="USE_PROJECT_PROFILE" value="false" /> <version value="1.0" /> </settings></component>12345678<?xml version="1.0" encoding="UTF-8"?><project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/TalkingFaceGeneration.iml" filepath="$PROJECT_DIR$/.idea/TalkingFaceGeneration.iml" /> </modules> </component></project>123456<?xml version="1.0" encoding="UTF-8"?><project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="" vcs="Git" /> </component></project>1234567import gradio as grdef greet(name):return "Hello " + name + "!!"iface = gr.Interface(fn=greet, inputs="text", outputs="text")iface.launch()1234567891011121314151617181920import gradio as grdef tfr(source_img, driving_audio):return Nonetfr_demo = gr.Interface(fn=tfr, inputs=["image", "audio"], outputs="video",examples=[["./example/images/ABOUT_00514.jpg", "./example/audios/6343252661930009508_00092.wav"],["./example/images/ABOUT_00994.jpg", "./example/audios/6350921755403330389_00056.wav"]])def greet(name):return "Hello, " + name + "!"fr_demo = gr.Interface(fn=greet, inputs="text", outputs="text")demo = gr.TabbedInterface([tfr_demo, fr_demo], ["Talking Face Generation", "Face Reenactment"])info = demo.launch()print(info)
.idea/.gitignoreAdded+8
.idea/TalkingFaceGeneration.imlAdded+8
.idea/deployment.xmlAdded+14
.idea/inspectionProfiles/profiles_settings.xmlAdded+6
.idea/modules.xmlAdded+8
.idea/vcs.xmlAdded+6
app.py+16-3
example/audios/6343252661930009508_00092.wavAdded
example/audios/6347195441777342774_00160.wavAdded
example/audios/6350295549171504559_00004.wavAdded
example/audios/6350921755403330389_00056.wavAdded
example/images/ABOUT_00514.jpgAdded

example/images/ABOUT_00994.jpgAdded

example/images/ABOUT_test_00001.jpgAdded

example/images/ABOUT_train_00001.jpgAdded
