AE-Shree commited on
Commit
c934b38
·
1 Parent(s): 67460a4

Deploy BioStack RLHF Medical Demo

Browse files
Files changed (1) hide show
  1. src/App.js +2 -1
src/App.js CHANGED
@@ -212,7 +212,8 @@ export default function App() {
212
  setLoading(true);
213
  setSftOutput(""); setRewardOutput(""); setPpoOutput(""); setRewardScore(null);
214
 
215
- const BASE = "localhost:7860"; // Change if your backend is hosted elsewhere
 
216
 
217
  try {
218
  // 1. SFT
 
212
  setLoading(true);
213
  setSftOutput(""); setRewardOutput(""); setPpoOutput(""); setRewardScore(null);
214
 
215
+ // Use relative URLs for Hugging Face Spaces (no base URL needed)
216
+ const BASE = "";
217
 
218
  try {
219
  // 1. SFT