File size: 457 Bytes
ad8cacf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
import sys
from app.app import create_interface



if __name__ == "__main__":
    # アプリケーションのルートディレクトリをPythonパスに追加
    sys.path.append(os.path.dirname(os.path.abspath(__file__)))
    
    # Gradioインターフェースを作成
    app = create_interface()
    
    # アプリケーションを起動
    app.launch(share=False)
    
    print("アプリケーションを終了しました。")