import gradio as gr from mysite.libs.utilities import chat_with_interpreter, completion, process_file,no_process_file from interpreter import interpreter import mysite.interpreter.interpreter_config # インポートするだけで設定が適用されます import duckdb import gradio as gr import psycopg2 from dataclasses import dataclass, field from typing import List, Optional from mysite.interpreter.process import no_process_file,process_file #from controllers.gra_04_database.rides import test_set_lide gradio_interface = gr.Interface( fn=process_file, inputs=[ "file", gr.Textbox(label="Additional Notes", lines=10), gr.Textbox(label="Folder Name"), ], outputs="text", )