bhaskartripathi commited on
Commit
af4fe59
·
1 Parent(s): 68d8de0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -7,6 +7,10 @@ import openai
7
  import gradio as gr
8
  import os
9
  from sklearn.neighbors import NearestNeighbors
 
 
 
 
10
 
11
  def download_pdf(url, output_path):
12
  urllib.request.urlretrieve(url, output_path)
 
7
  import gradio as gr
8
  import os
9
  from sklearn.neighbors import NearestNeighbors
10
+ #import tensorflow as tf
11
+ import tensorflow.compat.v1 as tf
12
+ tf.disable_v2_behavior()
13
+
14
 
15
  def download_pdf(url, output_path):
16
  urllib.request.urlretrieve(url, output_path)