Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -2,13 +2,6 @@ import gradio as gr
|
|
2 |
import pickle
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
import pandas as pd
|
5 |
-
from flask import Flask, request
|
6 |
-
|
7 |
-
app = Flask(__name__)
|
8 |
-
|
9 |
-
@app.route('/hello')
|
10 |
-
def hello_world():
|
11 |
-
return 'Hello, from Flask!'
|
12 |
|
13 |
def find(query):
|
14 |
# transform query from user
|
|
|
2 |
import pickle
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
import pandas as pd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
def find(query):
|
7 |
# transform query from user
|