Skip to content

Commit

Permalink
remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
zbbhelen committed Jul 7, 2024
1 parent 4315d24 commit dee699c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import org.woped.core.config.ConfigurationManager;
import org.woped.core.controller.IEditor;
import org.woped.core.utilities.LoggerManager;
import org.woped.gui.translations.Messages;

public class WebServiceThreadLLM extends Thread {
Expand Down Expand Up @@ -40,7 +39,6 @@ public void run() {

// LoggerManager.info(Constants.EDITOR_LOGGER,"Started Fetching GPT Models");


IEditor editor = paraphrasingPanel.getEditor();
paraphrasingPanel.showLoadingAnimation(true);

Expand All @@ -55,13 +53,11 @@ public void run() {
+ ConfigurationManager.getConfiguration().getProcess2TextServerURI()
+ "/generateTextLLM";*/


ByteArrayOutputStream stream = new ByteArrayOutputStream();
new PNMLExport().saveToStream(editor, stream);
String text = stream.toString();
String output;


try {
// Encode URL parameters
String encodedApiKey = URLEncoder.encode(apiKey, StandardCharsets.UTF_8);
Expand Down

0 comments on commit dee699c

Please sign in to comment.