Update app.py
Browse files
app.py
CHANGED
@@ -27,22 +27,6 @@ For the code to function, you need to load the four datasets (driver_data, cust_
|
|
27 |
Our main method first asks the user for their openai key. Then we have some test cases that may contain noun spelling issues, name spelling issues, etc.
|
28 |
"""
|
29 |
|
30 |
-
|
31 |
-
#imports
|
32 |
-
import pandas as pd
|
33 |
-
import spacy
|
34 |
-
import tensorflow_hub as hub
|
35 |
-
from scipy.spatial import distance
|
36 |
-
from numpy.core.fromnumeric import argmax
|
37 |
-
import os
|
38 |
-
import openai
|
39 |
-
import re
|
40 |
-
import gradio as gr
|
41 |
-
|
42 |
-
"""# Loading Mockaroo dataset from drive"""
|
43 |
-
|
44 |
-
os.system('pip install openai')
|
45 |
-
|
46 |
"""### **Attention**: Upload all four datasets into your MyDrive directory in google drive"""
|
47 |
|
48 |
driver = pd.read_csv('driver_data.csv')
|
|
|
27 |
Our main method first asks the user for their openai key. Then we have some test cases that may contain noun spelling issues, name spelling issues, etc.
|
28 |
"""
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
"""### **Attention**: Upload all four datasets into your MyDrive directory in google drive"""
|
31 |
|
32 |
driver = pd.read_csv('driver_data.csv')
|