Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -247,17 +247,14 @@ for model in models:
|
|
247 |
|
248 |
|
249 |
def text_it(inputs,outputs):
|
250 |
-
|
251 |
inputs=inputs,
|
252 |
outputs=outputs,
|
253 |
examples=examples,
|
254 |
-
title=title,
|
255 |
-
description=description,
|
256 |
-
article='',
|
257 |
allow_flagging='never',
|
258 |
cache_examples=False,
|
259 |
theme="default").launch(enable_queue=True, debug=True)
|
260 |
-
return text_gen(inputs)
|
261 |
|
262 |
|
263 |
def set_model(current_model_index):
|
|
|
247 |
|
248 |
|
249 |
def text_it(inputs,outputs):
|
250 |
+
grad.Interface(fn=generate,
|
251 |
inputs=inputs,
|
252 |
outputs=outputs,
|
253 |
examples=examples,
|
|
|
|
|
|
|
254 |
allow_flagging='never',
|
255 |
cache_examples=False,
|
256 |
theme="default").launch(enable_queue=True, debug=True)
|
257 |
+
# return text_gen(inputs)
|
258 |
|
259 |
|
260 |
def set_model(current_model_index):
|