mwtuni commited on
Commit
1cb6f0d
·
1 Parent(s): e4d713d

server.py

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. server.py +11 -0
README.md CHANGED
@@ -7,6 +7,7 @@ sdk: gradio
7
  app_file: app.py
8
  pinned: false
9
  python_version: "3.10"
 
10
  license: mit
11
  short_description: Digital avatar with MCP, images, and low-latency chat
12
  ---
 
7
  app_file: app.py
8
  pinned: false
9
  python_version: "3.10"
10
+ app_file: server.py
11
  license: mit
12
  short_description: Digital avatar with MCP, images, and low-latency chat
13
  ---
server.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import traceback
2
+
3
+ print("=== Starting server ===")
4
+
5
+ try:
6
+ from app import app
7
+ print("Loaded app successfully.")
8
+ except Exception as e:
9
+ print("=== ERROR DURING IMPORT ===")
10
+ traceback.print_exc()
11
+ raise e