kenken999's picture
test
4549941
raw
history blame
328 Bytes
import gradio as gr
from fastapi import FastAPI
app = gr.Interface(
fn=call_api,
inputs="text",
outputs="text",
title="User Profile System",
description="Register, login, and manage user profiles"
)
def call_api(username: str, password: str):
# Call API to register or login user
pass
app.launch()