mirror of
https://github.com/JasonYANG170/CodeGeeX4.git
synced 2024-11-23 12:16:33 +00:00
11 lines
256 B
Python
11 lines
256 B
Python
"""
|
|
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)
|