Update app.py
Browse files
app.py
CHANGED
@@ -37,14 +37,11 @@ for category, options in categories.items():
|
|
37 |
choices[category] = choice
|
38 |
|
39 |
|
40 |
-
#Create result text
|
41 |
-
result_text = gr.Textbox(Generated Prompt())
|
42 |
-
|
43 |
iface = gr.Interface(
|
44 |
fn=None,
|
45 |
live=True,
|
46 |
inputs=[choice for choice in choices.values()],
|
47 |
-
outputs=[
|
48 |
)
|
49 |
|
50 |
iface.launch()
|
|
|
37 |
choices[category] = choice
|
38 |
|
39 |
|
|
|
|
|
|
|
40 |
iface = gr.Interface(
|
41 |
fn=None,
|
42 |
live=True,
|
43 |
inputs=[choice for choice in choices.values()],
|
44 |
+
outputs=[generate_prompt],
|
45 |
)
|
46 |
|
47 |
iface.launch()
|