MogensR's picture
Update app.py
4bd2529 verified
raw
history blame
614 Bytes
#!/usr/bin/env python3
import gradio as gr
import sys
import os
print("=== MINIMAL TEST APP STARTING ===", flush=True)
print(f"Python: {sys.version}", flush=True)
print(f"Working dir: {os.getcwd()}", flush=True)
def test_function(text):
return f"Minimal app working! Input: {text}"
demo = gr.Interface(
fn=test_function,
inputs="text",
outputs="text",
title="BackgroundFX Pro - Minimal Test Mode"
)
if __name__ == "__main__":
print("=== LAUNCHING MINIMAL GRADIO ===", flush=True)
demo.launch(server_name="0.0.0.0", server_port=7860)
print("=== LAUNCH COMPLETED ===", flush=True)