DurgaaiSolutions commited on
Commit
ec1be32
·
verified ·
1 Parent(s): 7931ac0

Update app.py

Browse files

Fixed Testing Api Interface

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -215,7 +215,7 @@ html = '''
215
  border-radius: 10px;
216
  margin-top: 20px;
217
  white-space: pre-wrap;
218
- color: #0f0;
219
  }
220
  </style>
221
  </head>
@@ -235,11 +235,11 @@ html = '''
235
  </p>
236
 
237
  <div class="api-panel">
238
- <h2>🧪 Test the API</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>
 
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>