Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -523,7 +523,14 @@ def main(input_text, max_new_tokens):
|
|
523 |
# gr.Interface(fn=main, inputs=[gr.Textbox(label='Starting context'), gr.Number(label="Maximum output tokens")], outputs=[gr.Textbox(label="Response:")], title="CatGPT", article="Meow").launch()
|
524 |
|
525 |
# thing_old = gr.Interface(fn=main, theme=gr.themes.Soft(primary_hue="pink", secondary_hue="stone"), inputs=[gr.Textbox(label='Starting context'), gr.Number(label="Maximum output tokens")], outputs=[gr.Textbox(label="Response:")], title="CatGPT", article="Meow")
|
526 |
-
thing = gr.Interface(fn=main,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
|
528 |
if __name__ == "__main__":
|
529 |
-
thing.launch(
|
|
|
523 |
# gr.Interface(fn=main, inputs=[gr.Textbox(label='Starting context'), gr.Number(label="Maximum output tokens")], outputs=[gr.Textbox(label="Response:")], title="CatGPT", article="Meow").launch()
|
524 |
|
525 |
# thing_old = gr.Interface(fn=main, theme=gr.themes.Soft(primary_hue="pink", secondary_hue="stone"), inputs=[gr.Textbox(label='Starting context'), gr.Number(label="Maximum output tokens")], outputs=[gr.Textbox(label="Response:")], title="CatGPT", article="Meow")
|
526 |
+
thing = gr.Interface(fn=main,
|
527 |
+
theme='ParityError/Anime',
|
528 |
+
inputs=[gr.Textbox(label='Starting context'),
|
529 |
+
gr.Number(label="Maximum output tokens")],
|
530 |
+
outputs=[gr.Textbox(label="Response:")],
|
531 |
+
title="CatGPT",
|
532 |
+
article="Meow",
|
533 |
+
live=True)
|
534 |
|
535 |
if __name__ == "__main__":
|
536 |
+
thing.launch()
|