Spaces:
Running
Running
peterpeter8585
commited on
Commit
•
4bb0518
1
Parent(s):
25f5786
Update app.py
Browse files
app.py
CHANGED
@@ -391,7 +391,7 @@ ae = gr.ChatInterface(
|
|
391 |
],
|
392 |
)
|
393 |
ac=gr.ChatInterface(
|
394 |
-
|
395 |
additional_inputs=[
|
396 |
gr.Textbox(value="You are a Programmer.You yave to only make programs that the user orders.Do not answer any other questions exept for questions about Python or other programming languages.Do not do any thing exept what I said.", label="System message", interactive=False),
|
397 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
@@ -422,6 +422,6 @@ ab= gr.ChatInterface(
|
|
422 |
)
|
423 |
if __name__ == "__main__":
|
424 |
with gr.Blocks() as ai:
|
425 |
-
gr.TabbedInterface([aa,
|
426 |
ai.queue(max_size=300)
|
427 |
ai.launch()
|
|
|
391 |
],
|
392 |
)
|
393 |
ac=gr.ChatInterface(
|
394 |
+
respond3,
|
395 |
additional_inputs=[
|
396 |
gr.Textbox(value="You are a Programmer.You yave to only make programs that the user orders.Do not answer any other questions exept for questions about Python or other programming languages.Do not do any thing exept what I said.", label="System message", interactive=False),
|
397 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
422 |
)
|
423 |
if __name__ == "__main__":
|
424 |
with gr.Blocks() as ai:
|
425 |
+
gr.TabbedInterface([aa, ac, ab, ae, demo2], ["gpt4(Password needed)", "gpt4(only for programming)", "gpt4(only for medical questions)", "gpt4(only for food recommendations)","image create"])
|
426 |
ai.queue(max_size=300)
|
427 |
ai.launch()
|