VasudevaK commited on
Commit
0acf6d0
1 Parent(s): e4ef5b4

basic changes

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -67,7 +67,6 @@ def GPT(input):
67
 
68
 
69
  def generator(input=None):
70
- return input
71
  response = []
72
  if input:
73
 
@@ -93,7 +92,7 @@ def generator(input=None):
93
  out2 = pyjokes.get_joke(language='en', category='all')
94
  if(out2):
95
  response.append(out2)
96
-
97
  return response[0] # think of doing this
98
 
99
  iface = gr.Interface(fn=generator, inputs="text", outputs="text")
 
67
 
68
 
69
  def generator(input=None):
 
70
  response = []
71
  if input:
72
 
 
92
  out2 = pyjokes.get_joke(language='en', category='all')
93
  if(out2):
94
  response.append(out2)
95
+
96
  return response[0] # think of doing this
97
 
98
  iface = gr.Interface(fn=generator, inputs="text", outputs="text")