yirmibesogluz commited on
Commit
7f1f820
·
1 Parent(s): 5444ef5

Updated reference

Browse files
Files changed (2) hide show
  1. apps/home.py +1 -1
  2. apps/summarization.py +1 -1
apps/home.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
  import time
4
  from transformers import pipeline
5
  import os
6
- from utils import query
7
 
8
  API_URL = "https://api-inference.huggingface.co/models/boun-tabi-LMG/TURNA"
9
 
 
3
  import time
4
  from transformers import pipeline
5
  import os
6
+ from .utils import query
7
 
8
  API_URL = "https://api-inference.huggingface.co/models/boun-tabi-LMG/TURNA"
9
 
apps/summarization.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
  import time
4
  from transformers import pipeline
5
  import os
6
- from utils import query
7
 
8
  HF_AUTH_TOKEN = os.getenv('HF_AUTH_TOKEN')
9
  headers = {"Authorization": f"Bearer {HF_AUTH_TOKEN}"}
 
3
  import time
4
  from transformers import pipeline
5
  import os
6
+ from .utils import query
7
 
8
  HF_AUTH_TOKEN = os.getenv('HF_AUTH_TOKEN')
9
  headers = {"Authorization": f"Bearer {HF_AUTH_TOKEN}"}