Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,24 @@ with gr.Blocks() as demo:
|
|
64 |
input_text.change(tokenize_input, inputs=[input_text], outputs=[num_chars_output, gpt4o_output, gpt35turbo_output])
|
65 |
input_text.submit(tokenize_input, inputs=[input_text], outputs=[num_chars_output, gpt4o_output, gpt35turbo_output])
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
# Launch the app
|
68 |
demo.launch()
|
69 |
|
|
|
64 |
input_text.change(tokenize_input, inputs=[input_text], outputs=[num_chars_output, gpt4o_output, gpt35turbo_output])
|
65 |
input_text.submit(tokenize_input, inputs=[input_text], outputs=[num_chars_output, gpt4o_output, gpt35turbo_output])
|
66 |
|
67 |
+
gr.Markdown("""
|
68 |
+
### License Information
|
69 |
+
This application uses the following open-source libraries:
|
70 |
+
|
71 |
+
1. **Gradio**:
|
72 |
+
- License: Apache License 2.0
|
73 |
+
- Copyright: 2020-2023, Gradio contributors
|
74 |
+
- Full License: [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
75 |
+
- Repository: [Gradio GitHub](https://github.com/gradio-app/gradio/)
|
76 |
+
|
77 |
+
2. **tiktoken**:
|
78 |
+
- License: MIT License
|
79 |
+
- Copyright: 2022, OpenAI, Shantanu Jain
|
80 |
+
- Full License: [MIT License](https://opensource.org/licenses/MIT)
|
81 |
+
- Repository: [tiktoken GitHub](https://github.com/openai/tiktoken)
|
82 |
+
""")
|
83 |
+
|
84 |
+
|
85 |
# Launch the app
|
86 |
demo.launch()
|
87 |
|