Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -409,6 +409,8 @@ class GradioUI:
|
|
409 |
def launch(self, **kwargs):
|
410 |
|
411 |
with gr.Blocks(theme="ocean", fill_height=True) as demo:
|
|
|
|
|
412 |
# Different layouts for mobile and computer devices
|
413 |
@gr.render()
|
414 |
def layout(request: gr.Request):
|
@@ -450,7 +452,6 @@ class GradioUI:
|
|
450 |
# Add session state to store session-specific data
|
451 |
session_state = gr.State({}) # Initialize empty state for each session
|
452 |
stored_messages = gr.State([])
|
453 |
-
file_uploads_log = gr.State([])
|
454 |
chatbot = gr.Chatbot(
|
455 |
label="open-Deep-Research",
|
456 |
type="messages",
|
|
|
409 |
def launch(self, **kwargs):
|
410 |
|
411 |
with gr.Blocks(theme="ocean", fill_height=True) as demo:
|
412 |
+
file_uploads_log = gr.State([])
|
413 |
+
|
414 |
# Different layouts for mobile and computer devices
|
415 |
@gr.render()
|
416 |
def layout(request: gr.Request):
|
|
|
452 |
# Add session state to store session-specific data
|
453 |
session_state = gr.State({}) # Initialize empty state for each session
|
454 |
stored_messages = gr.State([])
|
|
|
455 |
chatbot = gr.Chatbot(
|
456 |
label="open-Deep-Research",
|
457 |
type="messages",
|