rrk757 commited on
Commit
6ba9a57
·
verified ·
1 Parent(s): 34f601b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1,4 +1,8 @@
1
  import gradio as gr
 
 
 
 
2
 
3
  theme = gr.themes.Soft(
4
  primary_hue="pink",
@@ -9,12 +13,6 @@ theme = gr.themes.Soft(
9
  background_fill_primary = 'primary_600'
10
  )
11
 
12
-
13
- from huggingface_hub import InferenceClient
14
- from sentence_transformers import SentenceTransformer
15
- import torch
16
- import numpy as np
17
-
18
  with open("knowledge.txt" , "r", encoding="utf-8") as f:
19
  knowledge_base = f.read()
20
 
 
1
  import gradio as gr
2
+ from huggingface_hub import InferenceClient
3
+ from sentence_transformers import SentenceTransformer
4
+ import torch
5
+ import numpy as np
6
 
7
  theme = gr.themes.Soft(
8
  primary_hue="pink",
 
13
  background_fill_primary = 'primary_600'
14
  )
15
 
 
 
 
 
 
 
16
  with open("knowledge.txt" , "r", encoding="utf-8") as f:
17
  knowledge_base = f.read()
18