ziem-io commited on
Commit
f6cd476
·
1 Parent(s): 88b3da2

Update: Adjust Text

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -173,9 +173,9 @@ def replace_text():
173
 
174
  def get_device_info():
175
  if torch.cuda.is_available():
176
- return f"Runs on GPU: {torch.cuda.get_device_name(0)}"
177
  else:
178
- return "Runs on CPU (May be slower)"
179
 
180
  ### Create Form interface with Gradio Framework ##################################
181
  with gr.Blocks() as demo:
 
173
 
174
  def get_device_info():
175
  if torch.cuda.is_available():
176
+ return f"Runs on GPU: {torch.cuda.get_device_name(0)}"
177
  else:
178
+ return "Runs on CPU (May be slow)"
179
 
180
  ### Create Form interface with Gradio Framework ##################################
181
  with gr.Blocks() as demo: