Improvements to the UI.
Browse files- rss_client.py +8 -2
rss_client.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks(title='MCP RSS client') as demo:
|
|
76 |
|
77 |
chatbot = gr.Chatbot(
|
78 |
value=[],
|
79 |
-
height=
|
80 |
type='messages',
|
81 |
show_copy_button=True
|
82 |
)
|
@@ -98,4 +98,10 @@ with gr.Blocks(title='MCP RSS client') as demo:
|
|
98 |
|
99 |
if __name__ == '__main__':
|
100 |
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
chatbot = gr.Chatbot(
|
78 |
value=[],
|
79 |
+
height=800,
|
80 |
type='messages',
|
81 |
show_copy_button=True
|
82 |
)
|
|
|
98 |
|
99 |
if __name__ == '__main__':
|
100 |
|
101 |
+
current_directory = os.getcwd()
|
102 |
+
|
103 |
+
if 'pyrite' in current_directory:
|
104 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|
105 |
+
|
106 |
+
else:
|
107 |
+
demo.launch()
|