Nipun commited on
Commit
1d55d0c
·
1 Parent(s): c58ff0d

Fix Gradio compatibility - remove theme parameter

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -156,7 +156,7 @@ def super_resolve_image(input_image, scale_factor, training_steps, hidden_featur
156
 
157
 
158
  # Create Gradio interface
159
- with gr.Blocks(title="SIREN Super-Resolution", theme=gr.themes.Soft()) as demo:
160
  gr.Markdown(
161
  """
162
  # 🔥 SIREN Super-Resolution Demo
 
156
 
157
 
158
  # Create Gradio interface
159
+ with gr.Blocks(title="SIREN Super-Resolution") as demo:
160
  gr.Markdown(
161
  """
162
  # 🔥 SIREN Super-Resolution Demo
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  torch>=2.0.0
2
  torchvision>=0.15.0
3
- gradio>=4.0.0
4
  numpy>=1.24.0
5
  Pillow>=10.0.0
6
  matplotlib>=3.7.0
 
1
  torch>=2.0.0
2
  torchvision>=0.15.0
3
+ gradio>=5.0.0
4
  numpy>=1.24.0
5
  Pillow>=10.0.0
6
  matplotlib>=3.7.0