Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,12 +145,12 @@ with gr.Blocks(css="""#chat_container {height: 820px; width: 1000px; margin-left
|
|
| 145 |
with gr.Column(scale=2.1, min_width=300, variant = 'compact'):
|
| 146 |
date_choice = gr.Radio(["day", "week", "all"], label="Select time range: ", value="day")
|
| 147 |
date_button = gr.Button("Confirm")
|
| 148 |
-
papers_text = gr.Textbox(label="
|
| 149 |
|
| 150 |
with gr.Row():
|
| 151 |
-
topic_text = gr.Textbox(label="
|
| 152 |
|
| 153 |
-
ideas_text = gr.Textbox(label="Ideas
|
| 154 |
|
| 155 |
date_button.click(confirm_date, inputs=[date_choice, profile_text], outputs=[topic_text, papers_text, ideas_text])
|
| 156 |
sign_button.click(sign_email, inputs=[profile_text, email_input])
|
|
|
|
| 145 |
with gr.Column(scale=2.1, min_width=300, variant = 'compact'):
|
| 146 |
date_choice = gr.Radio(["day", "week", "all"], label="Select time range: ", value="day")
|
| 147 |
date_button = gr.Button("Confirm")
|
| 148 |
+
papers_text = gr.Textbox(label="Trending Papers", interactive=False, scale=8, lines=12, max_lines=15)
|
| 149 |
|
| 150 |
with gr.Row():
|
| 151 |
+
topic_text = gr.Textbox(label="Trending Topics", interactive=False, scale=5, lines=12, max_lines=15)
|
| 152 |
|
| 153 |
+
ideas_text = gr.Textbox(label="Ideas for Trending Topics", interactive=False, scale=5, lines=12, max_lines=15)
|
| 154 |
|
| 155 |
date_button.click(confirm_date, inputs=[date_choice, profile_text], outputs=[topic_text, papers_text, ideas_text])
|
| 156 |
sign_button.click(sign_email, inputs=[profile_text, email_input])
|