Spaces:
Running
Running
Pclanglais
commited on
Commit
•
8ac858c
1
Parent(s):
6849ffb
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import re
|
|
4 |
import gradio as gr
|
5 |
from huggingface_hub import get_collection
|
6 |
|
|
|
7 |
|
8 |
def extract_collection_id(input_text):
|
9 |
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):
|