Spaces:
Sleeping
Sleeping
Kevin Louis
commited on
Commit
•
ae93270
1
Parent(s):
3438683
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
import pandas as pd
|
6 |
import plotly.graph_objects as go
|
7 |
import os
|
8 |
-
|
9 |
from DNAseq import DNAseq
|
10 |
from grapher import DNAgrapher
|
11 |
from parameter_extractor import ParameterExtractor
|
@@ -31,6 +31,11 @@ scheduler = CommitScheduler(
|
|
31 |
token=HF_TOKEN
|
32 |
)
|
33 |
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
def chat_to_sequence(sequence, user_query):
|
36 |
|
|
|
5 |
import pandas as pd
|
6 |
import plotly.graph_objects as go
|
7 |
import os
|
8 |
+
from utility import load_from_hub_csv
|
9 |
from DNAseq import DNAseq
|
10 |
from grapher import DNAgrapher
|
11 |
from parameter_extractor import ParameterExtractor
|
|
|
31 |
token=HF_TOKEN
|
32 |
)
|
33 |
|
34 |
+
# Load Code-Function Mapping
|
35 |
+
load_from_hub_csv(path=repo_id,
|
36 |
+
data_file="app/code_function_mapping.csv",
|
37 |
+
token=HF_TOKEN,
|
38 |
+
csv_output_file="code_function_mapping.csv")
|
39 |
|
40 |
def chat_to_sequence(sequence, user_query):
|
41 |
|