Spaces:
Runtime error
Runtime error
Commit
·
76b63bf
1
Parent(s):
9174887
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import torch
|
|
|
3 |
|
4 |
st.title("Hugging Face Space GPU Info")
|
5 |
|
@@ -11,3 +12,7 @@ if gpu_available:
|
|
11 |
st.write(f"GPU available: {gpu_name}")
|
12 |
else:
|
13 |
st.write("No GPU available")
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import torch
|
3 |
+
import requests
|
4 |
|
5 |
st.title("Hugging Face Space GPU Info")
|
6 |
|
|
|
12 |
st.write(f"GPU available: {gpu_name}")
|
13 |
else:
|
14 |
st.write("No GPU available")
|
15 |
+
|
16 |
+
|
17 |
+
r = requests.get("https://www.google.com")
|
18 |
+
print(r)
|