VasudevaK commited on
Commit
d1c6a4d
1 Parent(s): 063ee30
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -9,10 +9,6 @@ import numpy as np
9
  import gradio as gr
10
  import pyjokes
11
 
12
- iface = gr.Interface(fn=generator, inputs="text", outputs="text")
13
- iface.launch()
14
-
15
-
16
  def similarity(input, joke):
17
  return cosine_similarity(input, joke)
18
 
@@ -95,3 +91,6 @@ def generator(input=None):
95
  response.append(out2)
96
 
97
  return response #[0] think of doing this
 
 
 
 
9
  import gradio as gr
10
  import pyjokes
11
 
 
 
 
 
12
  def similarity(input, joke):
13
  return cosine_similarity(input, joke)
14
 
 
91
  response.append(out2)
92
 
93
  return response #[0] think of doing this
94
+
95
+ iface = gr.Interface(fn=generator, inputs="text", outputs="text")
96
+ iface.launch()