Spaces:
Running
on
Zero
Running
on
Zero
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() |