Animal-Grid-Vectorizer / tests /test_gradio_interface.py
MakiAi's picture
Upload 84 files
ad8cacf verified
raw
history blame contribute delete
544 Bytes
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("アプリケーションを終了しました。")