Spaces:
Running
on
A10G
Running
on
A10G
from fastapi import FastAPI | |
import gradio as gr | |
app = FastAPI() | |
def greet(name): | |
return "Hello " + name + "!" | |
def read_root(): | |
demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
demo.launch() | |