import gradio as gr
title = "test"
# def inference(text):
# html = (
# "
"
# "
"
# + "
"
# )
# return html
# gr.Interface(
# inference,
# gr.inputs.Textbox(placeholder="Enter sentence here..."),
# outputs=["html"],
# title=title,
# allow_flagging="never",
# ).launch(enable_queue=True, share=True, allowed_paths=["MOEI_resized.png"])
with gr.Blocks() as demo:
gr.HTML("")
css_code='body{background-image:url("MBZUAI_resized.jpg");}'
gr.Interface(lambda x:x, "textbox", "textbox", css=css_code).launch(debug=True)
demo.launch(share=True)