Spaces:
Sleeping
Sleeping
Pclanglais
commited on
Commit
•
3a390e1
1
Parent(s):
8ac858c
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import re
|
|
4 |
import gradio as gr
|
5 |
from huggingface_hub import get_collection
|
6 |
|
7 |
-
os.environ["COLLECTION_SLUG_OR_URL"] = "finance-commons-66925e1095c7fa6e6828e26c
|
8 |
|
9 |
def extract_collection_id(input_text):
|
10 |
if url_match := re.match(r"https://huggingface\.co/collections/(.+)$", input_text):
|
|
|
4 |
import gradio as gr
|
5 |
from huggingface_hub import get_collection
|
6 |
|
7 |
+
os.environ["COLLECTION_SLUG_OR_URL"] = "finance-commons-66925e1095c7fa6e6828e26c"
|
8 |
|
9 |
def extract_collection_id(input_text):
|
10 |
if url_match := re.match(r"https://huggingface\.co/collections/(.+)$", input_text):
|