Spaces:
Running
Running
Commit History
-
Update index.html
Verified signaturec24e409 -
Update index.html
Verified signature29e7906 -
Update index.html
Verified signaturee2793cb -
Create index.html
Verified signature4d22c9e -
Delete index.html
Verified signature<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Gemma API Connector</title> <style> body { font-family: Arial, sans-serif; max-width: 600px; margin: 40px auto; padding: 20px; } textarea { width: 100%; height: 100px; margin-bottom: 10px; padding: 10px; } button { padding: 10px 20px; background-color: #ffd21e; border: none; font-weight: bold; cursor: pointer; } #output { margin-top: 20px; padding: 10px; background: #f4f4f4; white-space: pre-wrap; } </style> </head> <body> <h2>Gemma Model Assistant</h2> <textarea id="promptInput" placeholder="أدخل نصاً هنا..."></textarea><br> <button onclick="generateText()">إرسال</button> <h3>النتيجة:</h3> <div id="output">بانتظار الإدخال...</div> <script> // ضع Access Token الخاص بك هنا const HF_TOKEN = "hf_YourAccessTokenHere"; async function generateText() { const prompt = document.getElementById("promptInput").value; …4361c33 -
initial commit
Verified signature05a749f -
Duplicate from gradio/gradio-lite-template
Co-authored-by: Joshua <Xenova@users.noreply.huggingface.co>838d03d