Spaces:
Running
Running
File size: 683 Bytes
4359d28 408c946 544ecca 408c946 4359d28 408c946 544ecca 408c946 ed54077 4359d28 408c946 544ecca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
from src.processor.message_processor import searchgpt_playground
from config import DESCRIPTION
import gradio as gr
# Falls style.css im Hauptverzeichnis liegt:
with gr.Blocks(css="style.css", fill_height=True, fill_width=True) as app:
with gr.Sidebar():
gr.HTML(DESCRIPTION)
gr.ChatInterface(
fn=searchgpt_playground,
chatbot=gr.Chatbot(
label="SearchGPT | GPT-4.1 (Nano)",
type="messages",
show_copy_button=True,
scale=1
),
type="messages",
cache_examples=False,
show_api=False,
concurrency_limit=3
)
app.launch(
server_name="0.0.0.0",
pwa=True
)
|