Aarifkhan commited on
Commit
d23856c
·
verified ·
1 Parent(s): a97ff58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@
2
  import gradio as gr
3
  import spaces
4
 
5
- +@spaces.GPU
6
  def terminal_emulator(command):
7
  import subprocess
8
  process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
 
2
  import gradio as gr
3
  import spaces
4
 
5
+ @spaces.GPU
6
  def terminal_emulator(command):
7
  import subprocess
8
  process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)