Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,11 +80,8 @@ def update_ui(message, chat_history, model, temperature, top_p, frequency_penalt
|
|
80 |
# --- Gradio Interface ---
|
81 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
82 |
gr.Markdown("# Chat with GPT-4.5 -> gpt-4.5-preview-2025-02-27 model")
|
83 |
-
gr.Markdown("GPT 4.5 IS
|
84 |
gr.Markdown("☕ [Buy me a Coffee](https://buymeacoffee.com/diegocp01m)")
|
85 |
-
|
86 |
-
gr.Image("https://pbs.twimg.com/media/Gk1tVnRXkAASa2U?format=jpg&name=4096x4096", elem_id="gpt4_5_image")
|
87 |
-
|
88 |
gr.Markdown("""
|
89 |
🚀 **GPT-4.5 EXPERIMENT:** GPT-4.5 was released today at 3 PM ET, but it's only available to PRO users and developers.
|
90 |
I created a Hugging Face Space using the API so everyone can chat with GPT-4.5 for FREE—until my credits run out! 😄
|
@@ -97,8 +94,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
97 |
- Total spend: $10.99
|
98 |
|
99 |
This space went live at 4:23 PM ET today, Feb 27, 2025 until 8:53 PM ET. [Read More](https://x.com/diegocabezas01/status/1895291365376041045)
|
|
|
100 |
""")
|
101 |
|
|
|
|
|
|
|
102 |
with gr.Row():
|
103 |
with gr.Column(scale=4):
|
104 |
chatbot = gr.Chatbot(
|
|
|
80 |
# --- Gradio Interface ---
|
81 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
82 |
gr.Markdown("# Chat with GPT-4.5 -> gpt-4.5-preview-2025-02-27 model")
|
83 |
+
gr.Markdown("❗⚠️IMPORTANT:!!! GPT 4.5 IS NO LONGER WORKING ON THIS SPACE, IT WAS FREE FOR ~ 4 HOURS! | Made by: [@diegocabezas01](https://x.com/diegocabezas01) on X")
|
84 |
gr.Markdown("☕ [Buy me a Coffee](https://buymeacoffee.com/diegocp01m)")
|
|
|
|
|
|
|
85 |
gr.Markdown("""
|
86 |
🚀 **GPT-4.5 EXPERIMENT:** GPT-4.5 was released today at 3 PM ET, but it's only available to PRO users and developers.
|
87 |
I created a Hugging Face Space using the API so everyone can chat with GPT-4.5 for FREE—until my credits run out! 😄
|
|
|
94 |
- Total spend: $10.99
|
95 |
|
96 |
This space went live at 4:23 PM ET today, Feb 27, 2025 until 8:53 PM ET. [Read More](https://x.com/diegocabezas01/status/1895291365376041045)
|
97 |
+
Results from OpenAI platform: 👇
|
98 |
""")
|
99 |
|
100 |
+
gr.Image("https://pbs.twimg.com/media/Gk1tVnRXkAASa2U?format=jpg&name=4096x4096", elem_id="gpt4_5_image")
|
101 |
+
gr.Markdown("Chat for Free with GPT 4o mini here: 👇")
|
102 |
+
|
103 |
with gr.Row():
|
104 |
with gr.Column(scale=4):
|
105 |
chatbot = gr.Chatbot(
|