kenken999's picture
test
1f074d8
raw
history blame
483 Bytes
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
gradio_interface = gr.Interface(
fn=process_file,
inputs=[
"file",
gr.Textbox(label="Additional Notes", lines=10),
gr.Textbox(label="Folder Name"),
],
outputs="text",
)