Unbias / app.py
mfernandar95
correcting the name of the project
ba852d8
raw
history blame contribute delete
353 Bytes
from model import *
import gradio as gr
import google as genai
gr.Interface(
fn=process_text,
inputs=gr.Textbox(lines=10, label="Input Text", placeholder="Enter resume here..."),
outputs=gr.Textbox(label="Generated Text"),
title="Unbias",
allow_flagging='never'
).launch()
# GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")