o Y#d@sUddlmZddlZddlZddlZddlmZddlmZddl m Z da eej e d<daeeje d<dd d Zdd d Zd ede fddZdede fddZdS))OptionalN)wording)TempFrameFormat)UpdateTEMP_FRAME_FORMAT_DROPDOWNTEMP_FRAME_QUALITY_SLIDERreturncCsft%tjtdtjjtjjda tj tdtjj dda WddS1s,wYdS)N temp_frame_format_dropdown_label)labelchoicesvaluetemp_frame_quality_slider_label)r r step) gradioBoxDropdownrget DeepFakeAIr temp_frame_formatglobalsrSlidertemp_frame_qualityrrr;/content/DeepFakeAI/DeepFakeAI/uis/components/temp_frame.pyrenders "rcCs$tjtttdtjtttddS)N)inputsoutputs)rselectupdate_temp_frame_formatrchangeupdate_temp_frame_qualityrrrrlisten sr"rcC|tj_tj|dSN)r )rrrrupdate)rrrrr% rrcCr#r$)rrrrr%)rrrrr!*r&r!)rN)typingrrDeepFakeAI.choicesrDeepFakeAI.globalsrDeepFakeAI.typingrDeepFakeAI.uis.typingrrr__annotations__rrrr"rintr!rrrrs