cryptotrader / app_minimal.py
Nhughes09
Complete application update with UI fixes and secret removal
fb03795
raw
history blame contribute delete
515 Bytes
import gradio as gr
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
logger.info("πŸš€ Starting minimal test app...")
def test_function():
return "βœ… App is working!"
with gr.Blocks(title="Test App") as demo:
gr.Markdown("# πŸ§ͺ Minimal Test App")
output = gr.Textbox(label="Status")
demo.load(fn=test_function, outputs=[output])
if __name__ == "__main__":
logger.info("Launching app...")
demo.launch(server_name="0.0.0.0", server_port=7860)