Baskar2005 commited on
Commit
e0b0a1c
1 Parent(s): c4b2856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -1,18 +1,14 @@
1
- import os
2
- import locale
3
- import transformers
4
- import torch
5
- import json
6
  import logging
7
- from typing import List
8
  from huggingface_hub import login
 
9
  from huggingface_hub import InferenceClient
10
  from langchain_openai import AzureChatOpenAI
11
- import gradio as gr
12
  from langchain.chains import LLMSummarizationCheckerChain
13
- import os
14
- import re
15
- from typing import Set, List, Tuple
16
  huggingface_key = os.getenv('HUGGINGFACE_KEY')
17
  login(huggingface_key) # Huggingface api token
18
 
 
1
+ import re
 
 
 
 
2
  import logging
3
+ import gradio as gr
4
  from huggingface_hub import login
5
+ from typing import Set, List, Tuple
6
  from huggingface_hub import InferenceClient
7
  from langchain_openai import AzureChatOpenAI
8
+
9
  from langchain.chains import LLMSummarizationCheckerChain
10
+
11
+
 
12
  huggingface_key = os.getenv('HUGGINGFACE_KEY')
13
  login(huggingface_key) # Huggingface api token
14