Spaces:
Sleeping
Sleeping
File size: 544 Bytes
ad8cacf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import os
import sys
import gradio as gr
# アプリケーションのルートディレクトリをPythonパスに追加
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# アプリケーションのインポート
from app.app import create_interface
if __name__ == "__main__":
# Gradioインターフェースを作成
app = create_interface()
# アプリケーションを起動
app.launch(share=False)
print("アプリケーションを終了しました。")
|