Spaces:
Sleeping
Sleeping
Evan Han
commited on
Commit
•
c349620
1
Parent(s):
f012744
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import gradio as gr
|
|
11 |
def get_content(filepath: str) -> str:
|
12 |
url = string.Template(
|
13 |
"https://raw.githubusercontent.com/huggingface/"
|
14 |
-
"
|
15 |
).safe_substitute(filepath=filepath)
|
16 |
response = requests.get(url)
|
17 |
if response.status_code == 200:
|
|
|
11 |
def get_content(filepath: str) -> str:
|
12 |
url = string.Template(
|
13 |
"https://raw.githubusercontent.com/huggingface/"
|
14 |
+
"huggingface_hub/main/docs/source/en/$filepath"
|
15 |
).safe_substitute(filepath=filepath)
|
16 |
response = requests.get(url)
|
17 |
if response.status_code == 200:
|