Spaces:
Paused
Paused
| import gradio as gr | |
| def test(inp): | |
| out = """<!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| </head> | |
| <body> | |
| <iframe | |
| src="https://omnibus-detect-language.hf.space" | |
| frameborder="0" | |
| width="100%" | |
| height="2000" | |
| ></iframe> | |
| </body> | |
| </html>""" | |
| return out | |
| with gr.Blocks() as app: | |
| input = gr.Textbox() | |
| btn = gr.Button() | |
| output = gr.HTML("""""") | |
| btn.click(test,input,output) | |
| app.launch() |