|
|
| <gradio-app src="Samrl/TaoGPT-Infiniti" /> |
|
|
| |
|
|
| ```python |
| import gradio as gr |
|
|
| def taogpt_infiniti(prompt): |
| return "..." |
|
|
| with gr.Blocks(title="TaoGPT-∞") as demo: |
| gr.Markdown("# TaoGPT-∞\n## ∞ parameters • 0 training • ∞ fish saved") |
| input_text = gr.Textbox(label="Ask the Tao") |
| output_text = gr.Textbox(label="Answer", value="...") |
| gr.Button("Seek Wisdom").click(fn=taogpt_infiniti, inputs=input_text, outputs=output_text) |
|
|
| demo.launch() |
|
|
| |
|
|
| ```python |
| import gradio as gr |
|
|
| def taogpt_infiniti(prompt): |
| """TaoGPT-∞: ∞ parameters, 0 training, ∞ fish saved. |
| |
| The uncarved block. The void contains all. |
| """ |
| return "..." |
|
|
| with gr.Blocks(title="TaoGPT-∞", theme=gr.themes.Soft()) as demo: |
| gr.Markdown(""" |
| # TaoGPT-∞ |
| ## ∞ parameters • 0 training • ∞ fish saved |
| |
| *The infinite potential in emptiness.* |
| |
| Ask anything. Receive everything and nothing. |
| """) |
| |
| with gr.Row(): |
| input_text = gr.Textbox( |
| label="Your question to the Tao", |
| placeholder="What is the true nature of reality?", |
| lines=3 |
| ) |
| output_text = gr.Textbox( |
| label="TaoGPT-∞'s response", |
| value="...", |
| interactive=False, |
| lines=3 |
| ) |
| |
| submit_btn = gr.Button("Seek Wisdom", size="large", variant="primary") |
| submit_btn.click( |
| fn=taogpt_infiniti, |
| inputs=input_text, |
| outputs=output_text |
| ) |
| |
| gr.Markdown(""" |
| --- |
| > *"The Tao that can be named is not the eternal Tao."* |
| > — Lao Tzu |
| |
| **No parameters. No training. No carbon footprint.** |
| Only the ∞. |
| """) |
|
|
| if __name__ == "__main__": |
| demo.launch() |