Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ 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 =
|
15 |
second_string = space_hardware.split("-")[1]
|
16 |
space_hardware = " ".join([first_string, second_string])
|
17 |
|
|
|
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 |
|