KittyCat00 commited on
Commit
4fe2177
·
verified ·
1 Parent(s): bc882b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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, theme='ParityError/Anime', inputs=[gr.Textbox(label='Starting context'), gr.Number(label="Maximum output tokens")], outputs=[gr.Textbox(label="Response:")], title="CatGPT", article="Meow")
 
 
 
 
 
 
 
527
 
528
  if __name__ == "__main__":
529
- thing.launch(share=True)
 
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()