Saravutw's picture
Update app.py
79ab9a5 verified
import gradio as gr
def create_iframe(url):
return f"""
<iframe
src="{url}"
width="100%"
height="1000px"
style="border: none;"
allow="accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr; wake-lock; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads">
</iframe>
"""
with gr.Blocks(fill_height=True) as demo:
with gr.Tab("FireRed Image Edit 1.1 Fast(Bianji (fdsgsfjsfg)"):
gr.HTML(create_iframe("https://fdsgsfjsfg-bianji.hf.space"))
if __name__ == "__main__":
demo.launch()