Spaces:
Runtime error
Runtime error
New config
Browse files
app.py
CHANGED
@@ -45,8 +45,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
45 |
with gr.Blocks() as demo:
|
46 |
gr.Markdown("Used two ChatBots for testing and comparison of correct answers :+1: ")
|
47 |
with gr.Row() as row:
|
48 |
-
with gr.Column():
|
49 |
-
|
|
|
|
|
50 |
respond,
|
51 |
additional_inputs=[
|
52 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
@@ -63,7 +65,7 @@ with gr.Blocks() as demo:
|
|
63 |
)
|
64 |
|
65 |
with gr.Column():
|
66 |
-
|
67 |
respond,
|
68 |
additional_inputs=[
|
69 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
|
|
45 |
with gr.Blocks() as demo:
|
46 |
gr.Markdown("Used two ChatBots for testing and comparison of correct answers :+1: ")
|
47 |
with gr.Row() as row:
|
48 |
+
with gr.Column():
|
49 |
+
system_prompt = gr.Textbox("You are helpful AI.", label="System Prompt")
|
50 |
+
slider = gr.Slider(10, 100, render=False
|
51 |
+
gr.ChatInterface(
|
52 |
respond,
|
53 |
additional_inputs=[
|
54 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
|
|
65 |
)
|
66 |
|
67 |
with gr.Column():
|
68 |
+
gr.ChatInterface(
|
69 |
respond,
|
70 |
additional_inputs=[
|
71 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|