kenken999's picture
test
1f074d8
raw
history blame
465 Bytes
import gradio as gr
from mysite.libs.utilities import process_file, no_process_file
from mysite.models.ride import Ride
from mysite.db.db import create_ride, read_rides, read_ride, update_ride, delete_ride
gr_interface = gr.Interface(
fn=process_file,
inputs=[
"file",
gr.Textbox(label="Additional Notes", lines=10),
gr.Textbox(label="Folder Name"),
],
outputs="text",
)
if __name__ == "__main__":
gr_interface.launch()