li commited on
Commit
58dc09d
·
1 Parent(s): 644062f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import gradio as gr
 
 
 
2
 
3
  def predict(sentence1, sentence2):
4
  sentence_pairs = np.array([[str(sentence1), str(sentence2)]])
 
1
  import gradio as gr
2
+ import numpy as np
3
+
4
+ gr.Interface.load("models/openai-gpt")
5
 
6
  def predict(sentence1, sentence2):
7
  sentence_pairs = np.array([[str(sentence1), str(sentence2)]])