Spaces:
Running
Running
Commit ·
308568a
1
Parent(s): 1fe422c
ai
Browse files
app.py
CHANGED
|
@@ -26,7 +26,11 @@ with gr.Blocks(css="footer {visibility: hidden}", title="ChatWebpage.com") as de
|
|
| 26 |
|
| 27 |
msg = gr.Textbox(label="2. Chat with AI about the webpage")
|
| 28 |
msg.submit(conversation.user, [msg, chatbot], [msg, chatbot]).success(conversation.bot, chatbot, chatbot)
|
| 29 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
with gr.Row():
|
| 32 |
with gr.Column(scale=2):
|
|
|
|
| 26 |
|
| 27 |
msg = gr.Textbox(label="2. Chat with AI about the webpage")
|
| 28 |
msg.submit(conversation.user, [msg, chatbot], [msg, chatbot]).success(conversation.bot, chatbot, chatbot)
|
| 29 |
+
with gr.Row():
|
| 30 |
+
with gr.Column(scale=4):
|
| 31 |
+
gr.Examples(["Please summarise the webpage", "What is the tone of the webpage?", "Tell me your favorite part of the webpage"], inputs=[msg])
|
| 32 |
+
with gr.Column(scale=4):
|
| 33 |
+
model = gr.Radio(["Summarise", "Tone", "Favorite"], value="gpt-3.5", label="3. Which AI model?")
|
| 34 |
|
| 35 |
with gr.Row():
|
| 36 |
with gr.Column(scale=2):
|