Spaces:
Running
Running
fix UI scaling
Browse files- app.py +1 -3
- requirements.txt +0 -1
app.py
CHANGED
@@ -117,11 +117,9 @@ chat_interface = gr.ChatInterface(
|
|
117 |
["Write a 100-word article on 'Benefits of Open-Source in AI research'."],
|
118 |
],
|
119 |
cache_examples=False,
|
120 |
-
chatbot=gr.Chatbot(
|
121 |
-
height=600)
|
122 |
)
|
123 |
|
124 |
-
with gr.Blocks(css="style.css",
|
125 |
# Get the server status before displaying UI
|
126 |
visibility = check_server_health(CLOUD_GATEWAY_API)
|
127 |
|
|
|
117 |
["Write a 100-word article on 'Benefits of Open-Source in AI research'."],
|
118 |
],
|
119 |
cache_examples=False,
|
|
|
|
|
120 |
)
|
121 |
|
122 |
+
with gr.Blocks(css="style.css", fill_height=True) as demo:
|
123 |
# Get the server status before displaying UI
|
124 |
visibility = check_server_health(CLOUD_GATEWAY_API)
|
125 |
|
requirements.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
numpy==1.26.4
|
2 |
pillow==10.4.0
|
3 |
-
gradio==4.43.0
|
4 |
fastapi==0.111.1
|
5 |
websockets==11.0.3
|
|
|
1 |
numpy==1.26.4
|
2 |
pillow==10.4.0
|
|
|
3 |
fastapi==0.111.1
|
4 |
websockets==11.0.3
|