LittleFrog commited on
Commit
901f709
·
verified ·
1 Parent(s): 43e60f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
2
  import subprocess
3
  from huggingface_hub import login
 
4
 
5
  def clone_and_initialize_repo(repo_url, target_dir):
6
  """
@@ -52,7 +53,7 @@ def huggingface_login():
52
  print(f"Error during Hugging Face login: {e}")
53
  raise
54
 
55
-
56
  def start_gradio_demo():
57
  """
58
  Start the Gradio demo.
 
1
  import os
2
  import subprocess
3
  from huggingface_hub import login
4
+ import space
5
 
6
  def clone_and_initialize_repo(repo_url, target_dir):
7
  """
 
53
  print(f"Error during Hugging Face login: {e}")
54
  raise
55
 
56
+ @spaces.GPU
57
  def start_gradio_demo():
58
  """
59
  Start the Gradio demo.