Spaces:
Running
Running
alvinhenrick
commited on
Commit
•
c255166
1
Parent(s):
0decbba
clean up import
Browse files
app.py
CHANGED
@@ -1,13 +1,12 @@
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
-
from
|
3 |
|
4 |
from medirag.cache.local import SemanticCaching
|
5 |
from medirag.index.local import DailyMedIndexer
|
6 |
from medirag.rag.qa import RAG, DailyMedRetrieve
|
7 |
-
import dspy
|
8 |
-
from pathlib import Path
|
9 |
-
|
10 |
-
from dotenv import load_dotenv
|
11 |
|
12 |
load_dotenv()
|
13 |
|
|
|
1 |
+
from pathlib import Path
|
2 |
+
|
3 |
+
import dspy
|
4 |
import gradio as gr
|
5 |
+
from dotenv import load_dotenv
|
6 |
|
7 |
from medirag.cache.local import SemanticCaching
|
8 |
from medirag.index.local import DailyMedIndexer
|
9 |
from medirag.rag.qa import RAG, DailyMedRetrieve
|
|
|
|
|
|
|
|
|
10 |
|
11 |
load_dotenv()
|
12 |
|