Spaces:
Runtime error
Runtime error
Commit Β·
68b5445
1
Parent(s): 7a9958a
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,12 +117,6 @@ poc_examples = [#[["I love learning machine learning"],["autre"]]
|
|
| 117 |
["90 eurodance beat","en"],
|
| 118 |
]
|
| 119 |
|
| 120 |
-
'''
|
| 121 |
-
outputs = [gr.Textbox(label="url 1"),gr.Textbox(label="url 2"),gr.Textbox(label="url 3"),gr.Textbox(label="url 4"),gr.Textbox(label="url 5")]
|
| 122 |
-
demo2 = gr.Interface(fn=process, inputs=inputs, outputs=outputs)
|
| 123 |
-
|
| 124 |
-
demo2.launch(debug=True)
|
| 125 |
-
'''
|
| 126 |
|
| 127 |
outputs = [gr.Audio(label="Track 1"), gr.Audio(label="Track 2"), gr.Audio(label="Track 3"), gr.Audio(label="Track 4"), gr.Audio(label="Track 5")]
|
| 128 |
demo1 = gr.Interface(fn=process, inputs=inputs, outputs=outputs, examples=poc_examples, cache_examples=False)
|
|
@@ -130,13 +124,5 @@ demo1 = gr.Interface(fn=process, inputs=inputs, outputs=outputs, examples=poc_ex
|
|
| 130 |
#demo1.launch(debug=True)
|
| 131 |
demo1.launch(debug=True, enable_queue = False, auth=(os.environ['DEMO_LOGIN'], os.environ['DEMO_PWD']),auth_message = "Contact Simbals to get login/pwd")#, share=True)
|
| 132 |
#demo.launch(auth=("admin", "pass1234"))
|
|
|
|
| 133 |
|
| 134 |
-
def id(inp):
|
| 135 |
-
return inp
|
| 136 |
-
|
| 137 |
-
#outputs = [gr.Audio(label="Proposal 1"), gr.Audio(label="Proposal 2"), gr.Audio(label="Proposal 3"), gr.Audio(label="Proposal 4"), gr.Audio(label="Proposal 5")]
|
| 138 |
-
#demo1 = gr.Interface(fn=id, inputs=outputs, outputs=outputs)
|
| 139 |
-
#outputs = [gr.Audio(label="Proposal 1"), gr.Textbox(label="url 1"),gr.Audio(label="Proposal 2"), gr.Audio(label="Proposal 3"), gr.Audio(label="Proposal 4"), gr.Audio(label="Proposal 5")]
|
| 140 |
-
|
| 141 |
-
#all = gr.Series(demo2, demo1)
|
| 142 |
-
#all.launch(debug=True)
|
|
|
|
| 117 |
["90 eurodance beat","en"],
|
| 118 |
]
|
| 119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
outputs = [gr.Audio(label="Track 1"), gr.Audio(label="Track 2"), gr.Audio(label="Track 3"), gr.Audio(label="Track 4"), gr.Audio(label="Track 5")]
|
| 122 |
demo1 = gr.Interface(fn=process, inputs=inputs, outputs=outputs, examples=poc_examples, cache_examples=False)
|
|
|
|
| 124 |
#demo1.launch(debug=True)
|
| 125 |
demo1.launch(debug=True, enable_queue = False, auth=(os.environ['DEMO_LOGIN'], os.environ['DEMO_PWD']),auth_message = "Contact Simbals to get login/pwd")#, share=True)
|
| 126 |
#demo.launch(auth=("admin", "pass1234"))
|
| 127 |
+
#enable_queue = False,
|
| 128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|