Spaces:
Sleeping
Sleeping
import gradio as gr | |
import os | |
# Run the setup script to extract the .zip file | |
os.system("sh setup.sh") | |
def serve_html(): | |
with open("index.html", "r") as file: | |
html_content = file.read() | |
return html_content | |
interface = gr.Interface(fn=serve_html, inputs=[], outputs="html") | |
if __name__ == "__main__": | |
interface.launch() | |