Update app.py
Browse files
app.py
CHANGED
|
@@ -75,9 +75,9 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.slate)) as demo
|
|
| 75 |
with gr.Column():
|
| 76 |
pdf_input = gr.File(type="file", label="Upload .pdf File")
|
| 77 |
api_input = gr.Textbox(label= "Enter Api-key")
|
| 78 |
-
upload_button = gr.Button(value="Upload & Start Chat
|
| 79 |
with gr.Column():
|
| 80 |
-
chatbot = gr.Chatbot(label="
|
| 81 |
message = gr.Textbox(label="User", placeholder=prompt)
|
| 82 |
state = gr.State()
|
| 83 |
|
|
|
|
| 75 |
with gr.Column():
|
| 76 |
pdf_input = gr.File(type="file", label="Upload .pdf File")
|
| 77 |
api_input = gr.Textbox(label= "Enter Api-key")
|
| 78 |
+
upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
| 79 |
with gr.Column():
|
| 80 |
+
chatbot = gr.Chatbot(label="Chatbot")
|
| 81 |
message = gr.Textbox(label="User", placeholder=prompt)
|
| 82 |
state = gr.State()
|
| 83 |
|