Upload 3 files
Browse files- README.md.txt +22 -0
- app.py.txt +21 -0
- requirements.txt.txt +3 -0
README.md.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# VERTEXAS INTL AI
|
| 2 |
+
|
| 3 |
+
**🌐 The Free AI Assistant of the World and Universe**
|
| 4 |
+
|
| 5 |
+
This is a free, open-source AI chatbot powered by GPT-Neo 1.3B, hosted on Hugging Face. It answers your questions about the world, the universe, science, and more.
|
| 6 |
+
|
| 7 |
+
## ⚙️ Tech Stack
|
| 8 |
+
- Python
|
| 9 |
+
- Transformers
|
| 10 |
+
- Gradio
|
| 11 |
+
- Hugging Face Spaces
|
| 12 |
+
|
| 13 |
+
## 🚀 Features
|
| 14 |
+
- Ask anything about science, technology, or life
|
| 15 |
+
- Fast and free
|
| 16 |
+
- Runs in the browser
|
| 17 |
+
- Customizable with other models (like LLaMA 3 or DeepSeek)
|
| 18 |
+
|
| 19 |
+
## 💰 Monetization Ideas
|
| 20 |
+
- Add Ko-fi / BuyMeACoffee link
|
| 21 |
+
- Offer premium mode with paid API
|
| 22 |
+
- Embed affiliate links
|
app.py.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from transformers import pipeline
|
| 3 |
+
|
| 4 |
+
# Load a small but capable model for free hosting
|
| 5 |
+
chatbot = pipeline("text-generation", model="EleutherAI/gpt-neo-1.3B")
|
| 6 |
+
|
| 7 |
+
def ask_ai(message):
|
| 8 |
+
response = chatbot(message, max_length=200, do_sample=True, temperature=0.7)
|
| 9 |
+
return response[0]["generated_text"]
|
| 10 |
+
|
| 11 |
+
interface = gr.Interface(
|
| 12 |
+
fn=ask_ai,
|
| 13 |
+
inputs=gr.Textbox(lines=2, placeholder="Ask about the universe..."),
|
| 14 |
+
outputs="text",
|
| 15 |
+
title="VERTEXAS INTL AI 🌐",
|
| 16 |
+
description="Explore global and cosmic knowledge with open-source AI.",
|
| 17 |
+
theme="compact"
|
| 18 |
+
)
|
| 19 |
+
|
| 20 |
+
if __name__ == "__main__":
|
| 21 |
+
interface.launch()
|
requirements.txt.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio
|
| 2 |
+
transformers
|
| 3 |
+
torch
|