File size: 268 Bytes
3f73ef1
 
 
 
 
 
 
 
 
 
e0b8ce2
3f73ef1
351a798
1
2
3
4
5
6
7
8
9
10
11
12
13
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)