chat-nface / backend /test /app_test.py
LucaVivona's picture
backend refactors
dfab724
raw
history blame
241 Bytes
import requests
DOCKER_LOCAL_HOST = '0.0.0.0'
import gradio as gr
import asyncio
if __name__ == "__main__":
gr.close_all()
requests.post(f"http://{DOCKER_LOCAL_HOST}:{ 2000 }/api/append/module", json={"module" : "src.demo.module"})