Commit
·
5eb5d54
1
Parent(s):
ee67242
chore: Update app.py to remove unused code and update dependencies
Browse files
app.py
CHANGED
|
@@ -4,12 +4,10 @@ from typing import Dict, List
|
|
| 4 |
|
| 5 |
import gradio as gr
|
| 6 |
import httpx
|
| 7 |
-
from dotenv import load_dotenv
|
| 8 |
from huggingface_hub import ModelCard
|
| 9 |
from cashews import cache
|
| 10 |
|
| 11 |
|
| 12 |
-
load_dotenv()
|
| 13 |
cache.setup("mem://")
|
| 14 |
API_URL = "https://davanstrien-huggingface-datasets-search-v2.hf.space/similar"
|
| 15 |
HF_API_URL = "https://huggingface.co/api/datasets"
|
|
|
|
| 4 |
|
| 5 |
import gradio as gr
|
| 6 |
import httpx
|
|
|
|
| 7 |
from huggingface_hub import ModelCard
|
| 8 |
from cashews import cache
|
| 9 |
|
| 10 |
|
|
|
|
| 11 |
cache.setup("mem://")
|
| 12 |
API_URL = "https://davanstrien-huggingface-datasets-search-v2.hf.space/similar"
|
| 13 |
HF_API_URL = "https://huggingface.co/api/datasets"
|