Spaces:
Runtime error
Runtime error
fixed Interface args
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def find_topk(text):
|
|
| 59 |
#demo = gr.Interface(find_topk, inputs = 'text', outputs = 'image')
|
| 60 |
demo = gr.Interface(find_topk,
|
| 61 |
inputs = gr.Textbox(label = 'Enter your prompt', lines = 2),
|
| 62 |
-
|
| 63 |
-
|
| 64 |
if __name__ == "__main__":
|
| 65 |
demo.launch()
|
|
|
|
| 59 |
#demo = gr.Interface(find_topk, inputs = 'text', outputs = 'image')
|
| 60 |
demo = gr.Interface(find_topk,
|
| 61 |
inputs = gr.Textbox(label = 'Enter your prompt', lines = 2),
|
| 62 |
+
outputs = gr.Gallery(),
|
| 63 |
+
theme = gr.themes.Glass())
|
| 64 |
if __name__ == "__main__":
|
| 65 |
demo.launch()
|