CodeGeeX4/web_demo/main.py

11 lines
256 B
Python
Raw Normal View History

2024-07-05 01:33:53 +00:00
"""
References: https://github.com/leptonai/search_with_lepton
"""
import gradio as gr
from backend.services.chat import chat
if __name__ == "__main__":
demo = gr.ChatInterface(chat).queue()
demo.launch(server_name="127.0.0.1", server_port=8080)