Adam-Ben-Khalifa
commited on
Commit
•
1bf0303
1
Parent(s):
58786e1
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,9 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
91 |
#],
|
92 |
#)
|
93 |
|
94 |
-
demo = gr.
|
|
|
|
|
95 |
|
96 |
|
97 |
if __name__ == "__main__":
|
|
|
91 |
#],
|
92 |
#)
|
93 |
|
94 |
+
demo = gr.Interface(fn=advancedPromptPipeline,
|
95 |
+
inputs=[gr.Textbox(label="Input Prompt", line=2, placeholder="Enter your prompt")],
|
96 |
+
outputs=[gr.Textbox(label="Advanced Prompt", lines=3)])
|
97 |
|
98 |
|
99 |
if __name__ == "__main__":
|