Spaces:
Runtime error
Runtime error
semantic_enter
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ def metadata_generator(api,text):
|
|
16 |
return resumo
|
17 |
|
18 |
demo = gr.Interface(fn=metadata_generator, inputs=\
|
19 |
-
[gr.inputs.Textbox(label='
|
20 |
-
gr.inputs.Textbox(label='
|
21 |
outputs=gr.outputs.Textbox(label='SEMANTIC SIMILAR PHRASES'),\
|
22 |
css='div {margin-left: auto; margin-right: auto; width: 100%;\
|
23 |
background-image: url("https://drive.google.com/uc?export=view&id=1KNnISAUcvh2Pt08f-EJZJYCIgkrKw3PI"); repeat 0 0;}').launch(share=False)
|
|
|
16 |
return resumo
|
17 |
|
18 |
demo = gr.Interface(fn=metadata_generator, inputs=\
|
19 |
+
[gr.inputs.Textbox(label='ENTER OPEN AI API KEY'), \
|
20 |
+
gr.inputs.Textbox(label='ENTER A PHRASE FOR SEMANTIC SIMILARITY - Click *Clear* before adding new input')], \
|
21 |
outputs=gr.outputs.Textbox(label='SEMANTIC SIMILAR PHRASES'),\
|
22 |
css='div {margin-left: auto; margin-right: auto; width: 100%;\
|
23 |
background-image: url("https://drive.google.com/uc?export=view&id=1KNnISAUcvh2Pt08f-EJZJYCIgkrKw3PI"); repeat 0 0;}').launch(share=False)
|