Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -436,11 +436,13 @@ if __name__ == "__main__":
|
|
436 |
print(f"Warning: Initial preprocessing test failed: {e}")
|
437 |
|
438 |
# Gradio 인터페이스 실행
|
|
|
439 |
demo.launch(
|
440 |
allowed_paths=[PERSISTENT_DIR],
|
441 |
-
|
442 |
-
|
443 |
-
show_error=True
|
|
|
444 |
)
|
445 |
|
446 |
except Exception as e:
|
|
|
436 |
print(f"Warning: Initial preprocessing test failed: {e}")
|
437 |
|
438 |
# Gradio 인터페이스 실행
|
439 |
+
demo.queue() # 큐 기능 활성화
|
440 |
demo.launch(
|
441 |
allowed_paths=[PERSISTENT_DIR],
|
442 |
+
server_name="0.0.0.0",
|
443 |
+
server_port=7860,
|
444 |
+
show_error=True,
|
445 |
+
share=False
|
446 |
)
|
447 |
|
448 |
except Exception as e:
|