boazchung commited on
Commit
74746c5
1 Parent(s): 08a1859

Update translation.html

Browse files
Files changed (1) hide show
  1. translation.html +1 -1
translation.html CHANGED
@@ -113,7 +113,7 @@
113
  use_cache: false
114
  }); //{
115
  //document.getElementById("logs").textContent += output.token.text;
116
- document.getElementById("logs").innerText = JSON.stringify(result, null, 2);
117
  //}
118
  } catch (err) {
119
  alert("Error: " + err.message);
 
113
  use_cache: false
114
  }); //{
115
  //document.getElementById("logs").textContent += output.token.text;
116
+ document.getElementById("logs").innerText = JSON.stringify(result["translation_text"], null, 2);
117
  //}
118
  } catch (err) {
119
  alert("Error: " + err.message);