yxmauw commited on
Commit
9684001
·
1 Parent(s): cafcee9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -10,8 +10,9 @@ from huggingface_hub import HfApi
10
  repo_id = "yxmauw/chatbot"
11
  api = HfApi()
12
  runtime = api.get_space_runtime(repo_id=repo_id)
13
- first_string = runtime.hardware.split("-")[0].upper()
14
- second_string = runtime.hardware.split("-")[1]
 
15
  space_hardware = " ".join([first_string, second_string])
16
 
17
 
 
10
  repo_id = "yxmauw/chatbot"
11
  api = HfApi()
12
  runtime = api.get_space_runtime(repo_id=repo_id)
13
+ space_hardware = runtime.hardware
14
+ first_string = .space_hardware.split("-")[0].upper()
15
+ second_string = space_hardware.split("-")[1]
16
  space_hardware = " ".join([first_string, second_string])
17
 
18