File size: 614 Bytes
1289298
4bd2529
 
 
f34c835
4bd2529
 
 
f34c835
4bd2529
 
f34c835
4bd2529
 
 
 
 
 
f34c835
 
4bd2529
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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)