Spaces:
Build error
Build error
| import gradio as gr | |
| from os import environ | |
| BUILD = f"{gr.__version__} from: {environ.get('INSTALL_TARGET', 'unknown')}" | |
| def chatbot_response(message, history): | |
| return f"Hello, you said: {message}\n Running {BUILD}" | |
| print(f"Gradio version: {BUILD}") | |
| demo = gr.ChatInterface(chatbot_response, title="Infinite space") | |
| if __name__ == "__main__": | |
| demo.launch(server_name="0.0.0.0", footer_links=[]) | |