Spaces:
Runtime error
Runtime error
import gradio as gr | |
def greet(name: str) -> str: | |
return "Hello " + name + "!" | |
app = gr.Interface(fn=greet, inputs="textbox", outputs="textbox") | |
if __name__ == "__main__": | |
# HF space entry point | |
# https://discuss.huggingface.co/t/python-gradio-web-pages-suddenly-dont-render-properly-on-ipad-browsers/126669 | |
# Once this is fixed, remove ssr_mode=False | |
app.launch(ssr_mode=False) | |