mrcuddle commited on
Commit
f73e509
·
verified ·
1 Parent(s): 8e34ad1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  import subprocess
 
3
 
 
4
  def merge_models(weight_drop_prob, scaling_factor, base_model, model_to_merge, output_path):
5
  # Construct the command to run hf_merge.py
6
  command = [
 
1
  import gradio as gr
2
  import subprocess
3
+ import spaces
4
 
5
+ @spaces.GPU
6
  def merge_models(weight_drop_prob, scaling_factor, base_model, model_to_merge, output_path):
7
  # Construct the command to run hf_merge.py
8
  command = [