Update app.py
Browse filesFixed Testing Api Interface
app.py
CHANGED
@@ -215,7 +215,7 @@ html = '''
|
|
215 |
border-radius: 10px;
|
216 |
margin-top: 20px;
|
217 |
white-space: pre-wrap;
|
218 |
-
color:
|
219 |
}
|
220 |
</style>
|
221 |
</head>
|
@@ -235,11 +235,11 @@ html = '''
|
|
235 |
</p>
|
236 |
|
237 |
<div class="api-panel">
|
238 |
-
<h2>🧪 Test
|
239 |
<input type="text" id="api_key" placeholder="Enter Your Hugging Face API key">
|
240 |
<input type="text" id="instructions" placeholder="Enter Your Instructions (Optional)">
|
241 |
<textarea id="prompt" rows="5" placeholder="Enter Your Prompt..."></textarea>
|
242 |
-
<button onclick="sendRequest()">Generate
|
243 |
<div class="response-box" id="responseBox">Response Will Appear Here...</div>
|
244 |
</div>
|
245 |
</div>
|
|
|
215 |
border-radius: 10px;
|
216 |
margin-top: 20px;
|
217 |
white-space: pre-wrap;
|
218 |
+
color: white;
|
219 |
}
|
220 |
</style>
|
221 |
</head>
|
|
|
235 |
</p>
|
236 |
|
237 |
<div class="api-panel">
|
238 |
+
<h2>🧪 Test The API Now : 💌</h2>
|
239 |
<input type="text" id="api_key" placeholder="Enter Your Hugging Face API key">
|
240 |
<input type="text" id="instructions" placeholder="Enter Your Instructions (Optional)">
|
241 |
<textarea id="prompt" rows="5" placeholder="Enter Your Prompt..."></textarea>
|
242 |
+
<button onclick="sendRequest()">Generate ❤️</button>
|
243 |
<div class="response-box" id="responseBox">Response Will Appear Here...</div>
|
244 |
</div>
|
245 |
</div>
|