Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -117,13 +117,14 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
117 |
)
|
118 |
|
119 |
with gr.Row():
|
120 |
-
with gr.Column():
|
121 |
chat_button_1 = gr.Button("Click to see AI's answer.", size='sm')
|
122 |
slider_1_2 = gr.Slider(label="AI: Dislike ——> Like", container=True, min_width=200, height=80, show_label=True, interactive=True)
|
123 |
interpre_button = gr.Button("See how AI gets the answer.", size='sm')
|
124 |
placeholder_text = gr.Textbox(label="Review:", value="HELLO! Hallo!", visible=False)
|
125 |
interpretation2 = gr.components.Interpretation(placeholder_text)
|
126 |
-
|
|
|
127 |
####################################################################################################
|
128 |
gr.Markdown(''' *** ''')
|
129 |
|
|
|
117 |
)
|
118 |
|
119 |
with gr.Row():
|
120 |
+
with gr.Column(scale=2):
|
121 |
chat_button_1 = gr.Button("Click to see AI's answer.", size='sm')
|
122 |
slider_1_2 = gr.Slider(label="AI: Dislike ——> Like", container=True, min_width=200, height=80, show_label=True, interactive=True)
|
123 |
interpre_button = gr.Button("See how AI gets the answer.", size='sm')
|
124 |
placeholder_text = gr.Textbox(label="Review:", value="HELLO! Hallo!", visible=False)
|
125 |
interpretation2 = gr.components.Interpretation(placeholder_text)
|
126 |
+
with gr.Column(scale=1):
|
127 |
+
chatbot1 = gr.Chatbot(height=200, min_width=50, container=False) # height=300
|
128 |
####################################################################################################
|
129 |
gr.Markdown(''' *** ''')
|
130 |
|