Adam-Ben-Khalifa
commited on
Commit
•
a8597aa
1
Parent(s):
4f173b1
Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,11 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
92 |
#)
|
93 |
|
94 |
demo = gr.Interface(fn=advancedPromptPipeline,
|
95 |
-
inputs=[
|
96 |
-
|
|
|
|
|
|
|
97 |
|
98 |
|
99 |
if __name__ == "__main__":
|
|
|
92 |
#)
|
93 |
|
94 |
demo = gr.Interface(fn=advancedPromptPipeline,
|
95 |
+
inputs=[
|
96 |
+
gr.Textbox(label="Input Prompt", lines=2, placeholder="Enter your prompt"),
|
97 |
+
gr.Slider(minimum=0.0, maximum=1.0, value=0.7, step=0.1, label="Temperature")
|
98 |
+
],
|
99 |
+
outputs=[gr.Textbox(label="Advanced Prompt", lines=30)])
|
100 |
|
101 |
|
102 |
if __name__ == "__main__":
|