rajatarya HF Staff commited on
Commit
99c4263
Β·
1 Parent(s): 786b3ca

Revert gradio to 4.44.1 for spaces

Browse files

Style main content differently since gradio api for Markdown is
different

Files changed (2) hide show
  1. app.py +2 -3
  2. requirements.txt +1 -1
app.py CHANGED
@@ -134,11 +134,10 @@ with gr.Blocks(
134
  Stay updated with the latest AI and ML news, summarized by AI! ✨
135
  """)
136
 
137
- content_display = gr.Markdown(
 
138
  label="πŸ“„ Content",
139
  value="Loading news data... πŸ”„",
140
- container=True,
141
- padding=20
142
  )
143
 
144
  # Metadata section (collapsible, collapsed by default)
 
134
  Stay updated with the latest AI and ML news, summarized by AI! ✨
135
  """)
136
 
137
+ with gr.Row(variant="panel", elem_classes="content-shadow"):
138
+ content_display = gr.Markdown(
139
  label="πŸ“„ Content",
140
  value="Loading news data... πŸ”„",
 
 
141
  )
142
 
143
  # Metadata section (collapsible, collapsed by default)
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio>=5.38.2
2
  pandas>=2.3.1
3
  huggingface_hub>=0.33.5
4
  pyarrow>=21.0.0
 
1
+ gradio>=4.44.1,<5.0.0
2
  pandas>=2.3.1
3
  huggingface_hub>=0.33.5
4
  pyarrow>=21.0.0