api / app.py
Arafath10's picture
Update app.py
351a798
raw
history blame
268 Bytes
import gradio as gr
from fastapi import FastAPI
app = FastAPI()
@app.post("/chatbot/{keyword}")
async def video(keyword):
name = keyword.lower()
return name
import subprocess
subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7820", shell=True)